diff options
author | James Meyer <james.meyer@operamail.com> | 2009-04-04 21:24:39 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-04-04 21:24:39 (GMT) |
commit | efc9e8400d73059d5926738b99a689ec92410837 (patch) | |
tree | 4fb84eb46b74a225d4aceb79ea780629c93d56a3 | |
parent | 6e590f0aabc166792d3a824e5f6886b3f068603a (diff) | |
download | linhes_pkgbuild-efc9e8400d73059d5926738b99a689ec92410837.zip linhes_pkgbuild-efc9e8400d73059d5926738b99a689ec92410837.tar.gz linhes_pkgbuild-efc9e8400d73059d5926738b99a689ec92410837.tar.bz2 |
xine-lib:missed the xine.install file
-rwxr-xr-x | abs/extra-testing/xine-lib/xine.install | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra-testing/xine-lib/xine.install b/abs/extra-testing/xine-lib/xine.install new file mode 100755 index 0000000..f9102ee --- /dev/null +++ b/abs/extra-testing/xine-lib/xine.install @@ -0,0 +1,27 @@ +# arg 1: the new package version + post_install() { + MYTHOME=` su - mythtv -c "echo ~" ` + if [ ! -f $MYTHOME/.xine/config ] + then + echo "Copying in standard config file for xine" + mkdir -p $MYTHOME/.xine/ + cp -rp $TEMPLATES/xine.config.template $MYTHOME/.xine/config + chown -R mythtv:mythtv $MYTHOME/.xine + fi + } + +# # arg 1: the new package version +# # arg 2: the old package version + post_upgrade() { + post_install $1 + } +# +# # arg 1: the old package version + post_remove() { + /bin/true + } + +op=$1 +shift + +$op $* |