slackbuilds_ponce/audio/aeolus/doinst.sh
dsomero dc1cdf835d 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>
2012-09-02 10:34:41 -04:00

15 lines
352 B
Bash

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