summaryrefslogtreecommitdiff
path: root/desktop/enlightenment/doinst.sh
diff options
context:
space:
mode:
authorAleksandar Samardzic <asamardzic@gmail.com>2011-02-06 16:16:50 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-06 16:16:50 -0600
commit3f2986098eca12a25c7de00c2ddc440c7156f1c1 (patch)
tree6fb17b389e8cd0e79c178b8a6619694b5c993da6 /desktop/enlightenment/doinst.sh
parent9d4977f4db5cda20531bce0a39fab5d1189bfb01 (diff)
downloadslackbuilds-3f2986098eca12a25c7de00c2ddc440c7156f1c1.tar.gz
desktop/enlightenment: Updated for version 0.16.999.55225.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/enlightenment/doinst.sh')
-rw-r--r--desktop/enlightenment/doinst.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/desktop/enlightenment/doinst.sh b/desktop/enlightenment/doinst.sh
new file mode 100644
index 0000000000..60ed6a83ca
--- /dev/null
+++ b/desktop/enlightenment/doinst.sh
@@ -0,0 +1,12 @@
+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/enlightenment/sysactions.conf.new
+