aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gnash/doinst.sh
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2016-12-05 18:59:01 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-24 07:34:19 +0700
commit15706dda080d0ab870caee55acd1d4fa09f65939 (patch)
tree17eb7548597b386cfcab7abf001e2048addced70 /multimedia/gnash/doinst.sh
parentb674aee736e631d8f7d4ec0ed949f71726ba3462 (diff)
multimedia/gnash: Updated build flags, HOMEPAGE, and DOWNLOAD.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
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 c2e0f8a9fdc0..684c6a94861f 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