diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-02 10:22:26 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-09-02 10:34:41 -0400 |
commit | dc1cdf835dc1689b0511bf3a5c186a17df40d42c (patch) | |
tree | 54fbea6f291fc39ba9312746d28e2ec33570ac61 /audio/aeolus/doinst.sh | |
parent | b76395f3995a0733ef2e87078c816cb0d6e41028 (diff) | |
download | slackbuilds-dc1cdf835dc1689b0511bf3a5c186a17df40d42c.tar.gz |
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.sh | 15 |
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 |