use disk/by-id if possibe, other small fixes
[automated-distro-installer] / fai / config / scripts / GRUB_PC / 11-ian
index 1bb4fda2d7e5b60e9b2a4516b7b042734ebfdece..d22d8fc852df9bf871c15cecdd1627116dfbc74a 100755 (executable)
@@ -33,7 +33,11 @@ usermod -aG cdrom,floppy,sudo,audio,dip,video,plugdev,netdev,kvm,systemd-journal
 EOF
 
 
-apt-get -y install unison-gtk
+$ROOTCMD apt-get -y install unison-gtk
 if ifclass STABLE; then
-    apt-get -y install unison-gtk/testing
+    # don't think this is needed since I figured out how to
+    # deal with mismatching unison compilers, but I don't
+    # see any reason to revert it, since it only installs
+    # a single package which is primarily a single binary
+    $ROOTCMD apt-get -y install unison-gtk/testing
 fi