From 5127fd2071874c1c7d28d2b8f2d801b23c1f361b Mon Sep 17 00:00:00 2001 From: Tomas Plesnik <plesnik@ics.muni.cz> Date: Thu, 13 Dec 2012 13:41:50 +0100 Subject: [PATCH] uprava vypisu odinstalatoru, odstraneno vypnuti apache --- src/warden-server/sh/uninstall.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/warden-server/sh/uninstall.sh b/src/warden-server/sh/uninstall.sh index 112d420..8381755 100755 --- a/src/warden-server/sh/uninstall.sh +++ b/src/warden-server/sh/uninstall.sh @@ -54,7 +54,6 @@ err_clean() do ln -s ${bin}/$file ${local_bin}/$file # create symlinks to /usr/local/bin done - $init start # start server cat $err rm -rf $err $backup_dir echo @@ -104,13 +103,6 @@ warden_dir_chck() } -stop_warden_server() -{ - echo "Stopping Warden server ... " - ${init} stop 1>/dev/null 2>&1 -} - - backup() { echo -n "Backing-up Warden server directory ... " @@ -179,7 +171,6 @@ uninstall_file="/tmp/UNINSTALL" old_package_version_file="${etc}/package_version" err="/tmp/warden-err" backup_dir="/tmp/warden-backup" -init="/etc/init.d/apache2" # obtain version of installed warden-server package obtain_package_version @@ -190,9 +181,6 @@ echo "------------------------- Uninstallation process ------------------------- # check if $prefix/warden-server directory exist warden_dir_chck -# stop running warden server -stop_warden_server - # make backup of currently installed warden-server package backup @@ -202,11 +190,11 @@ delete_symlinks # do uninstallation uninstall_warden_server +echo +echo "Please follow post-uninstallation steps in $uninstall_file!" echo echo "Uninstallation of $package_version package was SUCCESSFUL!" echo -echo "Please follow post-uninstallation steps in $uninstall_file!" - # cleanup section rm -rf $err $backup_dir -- GitLab