update for xinetd support

Fix typo in xinetd configuration directory.
Restart xinetd during installation or uninstallation if
xinetd is installed.
This commit is contained in:
morlix
2013-06-27 10:51:55 +02:00
parent 6a1cdd5fda
commit abb6ed9179
4 changed files with 19 additions and 2 deletions

View File

@@ -24,3 +24,11 @@
. /opt/pakfire/lib/functions.sh
extract_files
restore_backup ${NAME}
if [[ -x /usr/sbin/xinetd ]];
then
if [[ -x /etc/init.d/xinetd ]]
then
/etc/init.d/xinetd restart
fi
fi

View File

@@ -24,3 +24,11 @@
. /opt/pakfire/lib/functions.sh
make_backup ${NAME}
remove_files
if [[ -x /usr/sbin/xinetd ]];
then
if [[ -x /etc/init.d/xinetd ]]
then
/etc/init.d/xinetd restart
fi
fi