summaryrefslogtreecommitdiffstats
path: root/deps/ConsoleKit2/doinst.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-11-19 00:31:56 +0100
committer Eric Hameleers <alien@slackware.com>2015-11-19 00:31:56 +0100
commit3ab67efe8ea2bc47083a917b9530896272a543ec (patch)
tree0b7548a8da4cdbc182721074221ecebcd24b1fab /deps/ConsoleKit2/doinst.sh
parenteab4982ab7c8b60aeb20475507aa19cbbf293d6e (diff)
downloadktown-3ab67efe8ea2bc47083a917b9530896272a543ec.tar.gz
ktown-3ab67efe8ea2bc47083a917b9530896272a543ec.tar.xz
Dependencies removed for KDE 5_15.11 because they are fulfilled by -current.
- ConsoleKit2 - LibRaw - eigen2 - xapian-core
Diffstat (limited to 'deps/ConsoleKit2/doinst.sh')
-rw-r--r--deps/ConsoleKit2/doinst.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/deps/ConsoleKit2/doinst.sh b/deps/ConsoleKit2/doinst.sh
deleted file mode 100644
index c13a36e..0000000
--- a/deps/ConsoleKit2/doinst.sh
+++ /dev/null
@@ -1,27 +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
-}
-
-config etc/ConsoleKit/seats.d/00-primary.seat.new
-preserve_perms etc/rc.d/rc.consolekit.new
-