From dc1cdf835dc1689b0511bf3a5c186a17df40d42c Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 2 Sep 2012 10:22:26 -0400 Subject: audio/aeolus: Fixed a underlinking problem, misc cleanups. Added .deskyop file and icon also added stops as most of the other distro seem to include this. Also added a default config. Signed-off-by: dsomero --- audio/aeolus/doinst.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 audio/aeolus/doinst.sh (limited to 'audio/aeolus/doinst.sh') diff --git a/audio/aeolus/doinst.sh b/audio/aeolus/doinst.sh new file mode 100644 index 000000000000..3ac9fdd75d40 --- /dev/null +++ b/audio/aeolus/doinst.sh @@ -0,0 +1,15 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + rm $NEW + fi +} + +config etc/aeolus.conf.new + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi -- cgit v1.2.3