summaryrefslogtreecommitdiff
path: root/pcr/cjdns-git/cjdns-git.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-18 06:33:47 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-18 06:33:47 -0500
commitfceb4291e6d1ea3cd0ea62866b544873a4a72237 (patch)
tree553960ef14d69688536ffc05fd9845dde2c28331 /pcr/cjdns-git/cjdns-git.install
parent5a285a6493f6ecb76dc2523504b1c589643079d7 (diff)
downloadabslibre-fceb4291e6d1ea3cd0ea62866b544873a4a72237.tar.gz
abslibre-fceb4291e6d1ea3cd0ea62866b544873a4a72237.tar.bz2
abslibre-fceb4291e6d1ea3cd0ea62866b544873a4a72237.zip
cjdns-git-0.3.3328-1: updating version
Diffstat (limited to 'pcr/cjdns-git/cjdns-git.install')
-rw-r--r--pcr/cjdns-git/cjdns-git.install21
1 files changed, 0 insertions, 21 deletions
diff --git a/pcr/cjdns-git/cjdns-git.install b/pcr/cjdns-git/cjdns-git.install
deleted file mode 100644
index 5e9e1a64c..000000000
--- a/pcr/cjdns-git/cjdns-git.install
+++ /dev/null
@@ -1,21 +0,0 @@
-post_install() {
- if [ $(ps -A | ps -A | grep -cE "systemd$") = 1 ]; then
- systemctl --system daemon-reload
- fi
-
- if [ -z $(type -P python2) ]; then
- echo "You don't currently have python2 installed. It isn't required to use cjdns, but some scripts have been included in the package that won't function without"
- fi
-
- echo "By default, the cjdns configuration file is expected to be located @ /etc/cjdroute.conf"
-}
-
-post_upgrade() {
- if [ $(ps -A | ps -A | grep -cE "systemd$") = 1 ]; then
- systemctl --system daemon-reload
- fi
-
- if [ $(grep -c cjdns /etc/passwd) = 1 ]; then
- echo "The user 'cjdns' has been detected on your system but is no longer required by this package; if it was installed by a previous version of this package, it can now be safely deleted."
- fi
-}