Remove x11-common to delete X.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Mon, 13 Jul 2009 09:02:29 +0000 (11:02 +0200)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Mon, 13 Jul 2009 09:02:29 +0000 (11:02 +0200)
src/actions/main.queue
src/actions/post_upgrade.queue
src/functions.sh

index 11160b0..572eb9a 100644 (file)
@@ -5,7 +5,7 @@ true                            check_php_version
 true                           check_upgrade
 true                           check_grsec_kernel
 true                           check_reboot
-pkg xlibs                      remove_x
+pkg x11-common                 remove_x
 true                           remove_bloat
 true                           remove_cn_bloat
 true                           apt_listchanges disable
index 695ea4e..1e22860 100644 (file)
@@ -6,6 +6,7 @@
 # instalirao.  To se mozda odnosi na ntp-cn, pa je za svaki slucaj dodan.
 true                           debconf_priority reset
 true                           add_group_proc          # + restart oidentd ako treba
+pkg x11-common                 remove_x
 true                           install_new
 pkg kernel-2.6-cn              dpkg-reconfigure kernel-2.6-cn
 # ovo bi trebalo biti predzadnje na popisu
index ecac67b..09b5479 100644 (file)
@@ -157,7 +157,7 @@ remove_x() {
   LC_MESSAGES=hr_HR dialog --backtitle "$title" --yesno "$msg_remove_x" 18 75
   if [ $? -eq 0 ]; then
     log "Removing X Window System"
-    pkgrm xlibs
+    pkgrm x11-common
   else
     log "Skipping X Window System removal"
   fi