summaryrefslogtreecommitdiff
path: root/network/yate/doinst.sh
diff options
context:
space:
mode:
authorkorgman <korgie@gmail.com>2014-01-06 19:48:46 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:14:01 -0600
commit9424d70a1df294c069e31a11c2b04ba21e245c70 (patch)
tree866ca0cfb01d6e52701b54b68bb538c38c580660 /network/yate/doinst.sh
parent4cbbb736dc33850ed9006aff43ccb643bcbbf716 (diff)
downloadslackbuilds-9424d70a1df294c069e31a11c2b04ba21e245c70.tar.gz
network/yate: Removed (per maintainer request).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/yate/doinst.sh')
-rw-r--r--network/yate/doinst.sh50
1 files changed, 0 insertions, 50 deletions
diff --git a/network/yate/doinst.sh b/network/yate/doinst.sh
deleted file mode 100644
index cb44d46a56..0000000000
--- a/network/yate/doinst.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-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
- rm $NEW
- fi
- # 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
-}
-
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
-
-schema_install blah.schemas
-preserve_perms etc/rc.d/rc.INIT.new
-config etc/configfile.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-