Просмотр исходного кода

use util-linux package instead of setpriv on Ubuntu 16.04

- Reported by @HueyGeek

Fixes #699
Robert Zollner 6 лет назад
Родитель
Сommit
46ea238386
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      install/hst-install-ubuntu.sh

+ 4 - 0
install/hst-install-ubuntu.sh

@@ -789,6 +789,10 @@ if [ -d "$withdebs" ]; then
     software=$(echo "$software" | sed -e "s/hestia//")
 fi
 
+if [ "$release" = '16.04' ]; then
+    software=$(echo "$software" | sed -e "s/setpriv/util-linux/")
+fi
+
 #----------------------------------------------------------#
 #                 Disable Apparmor on LXC                  #
 #----------------------------------------------------------#