aboutsummaryrefslogtreecommitdiff
path: root/development/eclipse-php/doinst.sh
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-04-22 22:06:11 +1200
committerAndrew Clemons <andrew.clemons@gmail.com>2021-04-23 18:21:26 +1200
commitc6b2ab45ee1c699209bb006443c876545e201fe4 (patch)
treecb3006d31afa007a27cd1078562015c76b18de5b /development/eclipse-php/doinst.sh
parent5e6f410850dfd7d420bbb409fe41c00f5cedd054 (diff)
development/eclipse-php: Updated for version 4.19.
15.0 now has a newer GTK3, so we can upgrade. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'development/eclipse-php/doinst.sh')
-rw-r--r--development/eclipse-php/doinst.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/development/eclipse-php/doinst.sh b/development/eclipse-php/doinst.sh
index 95382d88a1fc0..e6a482879a0ce 100644
--- a/development/eclipse-php/doinst.sh
+++ b/development/eclipse-php/doinst.sh
@@ -1,14 +1,11 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
- # toss the redundant copy
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
rm $NEW
fi
- # Otherwise, we leave the .new copy for the admin to consider...
}
if [ -x /usr/bin/update-desktop-database ]; then