From efc9e8400d73059d5926738b99a689ec92410837 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 4 Apr 2009 16:24:39 -0500 Subject: xine-lib:missed the xine.install file --- abs/extra-testing/xine-lib/xine.install | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 abs/extra-testing/xine-lib/xine.install 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 $* -- cgit v0.12