aboutsummaryrefslogtreecommitdiff
path: root/audio/aeolus/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-02 10:22:26 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-02 10:34:41 -0400
commitdc1cdf835dc1689b0511bf3a5c186a17df40d42c (patch)
tree54fbea6f291fc39ba9312746d28e2ec33570ac61 /audio/aeolus/doinst.sh
parentb76395f3995a0733ef2e87078c816cb0d6e41028 (diff)
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 <xgizzmo@slackbuilds.org>
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 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