summaryrefslogtreecommitdiff
path: root/audio/aeolus/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/aeolus/doinst.sh')
-rw-r--r--audio/aeolus/doinst.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/aeolus/doinst.sh b/audio/aeolus/doinst.sh
new file mode 100644
index 0000000000..3ac9fdd75d
--- /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