Explorar o código

installer: remove void-live.rules if found.

Closes: #186 [via git-merge-pr]
Pulux %!s(int64=4) %!d(string=hai) anos
pai
achega
ae05e37287
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      installer.sh.in

+ 3 - 0
installer.sh.in

@@ -1325,6 +1325,9 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
         unset USERLOGIN
     fi
 
+    # clean up polkit rule - it's only useful in live systems
+    rm -f $TARGETDIR/etc/polkit-1/rules.d/void-live.rules
+
     # enable text console for grub if chosen
     if [ "$(get_option TEXTCONSOLE)" = "1" ]; then
         sed -i $TARGETDIR/etc/default/grub \