summaryrefslogtreecommitdiff
path: root/multimedia/gnash/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gnash/doinst.sh')
-rw-r--r--multimedia/gnash/doinst.sh17
1 files changed, 3 insertions, 14 deletions
diff --git a/multimedia/gnash/doinst.sh b/multimedia/gnash/doinst.sh
index c2e0f8a9fd..684c6a9486 100644
--- a/multimedia/gnash/doinst.sh
+++ b/multimedia/gnash/doinst.sh
@@ -11,20 +11,9 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/gnashpluginrc.new
-preserve_perms etc/gnashthumbnailrc.new
-preserve_perms etc/gnashrc.new
+config etc/gnashpluginrc.new
+config etc/gnashthumbnailrc.new
+config etc/gnashrc.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1