projects
/
xinetd-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Promjenjena putanja xconv.pl
[xinetd-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
f620ce5
..
32a67f3
100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-5,7
+5,7
@@
set -e
[ "$1" = "configure" ] || exit 0
[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
[ "$1" = "configure" ] || exit 0
[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
-# Load CARNet Tools
+# Load CARNET Tools
. /usr/share/carnet-tools/functions.sh
PKG=xinetd-cn
. /usr/share/carnet-tools/functions.sh
PKG=xinetd-cn
@@
-13,7
+13,7
@@
CONF=/etc/xinetd.conf
INETDCONF=/etc/inetd.conf
DEFAULT=/etc/default/xinetd
BACKUPDIR=/var/backups/xinetd-cn
INETDCONF=/etc/inetd.conf
DEFAULT=/etc/default/xinetd
BACKUPDIR=/var/backups/xinetd-cn
-XCONV_TOOL=/usr/sbin/xconv.pl
+XCONV_TOOL=/usr/bin/xconv.pl
need_restart=0
temp_files=
need_restart=0
temp_files=
@@
-268,22
+268,13
@@
fi
# Restart xinetd if needed
#
if [ $need_restart -eq 1 ]; then
# Restart xinetd if needed
#
if [ $need_restart -eq 1 ]; then
- if [ -x "/etc/init.d/xinetd" ]; then
- if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d xinetd restart || exit $?
- else
- /etc/init.d/xinetd restart || exit $?
- fi
- fi
+ service xinetd restart || exit $?
fi
# Mail root
#
cp_mail "$PKG"
fi
# Mail root
#
cp_mail "$PKG"
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
#DEBHELPER#
exit 0
#DEBHELPER#
exit 0