X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F10adduser;h=2065e7aa64be11bc6e26dd89c47b09b80535383c;hb=63b3fae5c7adef1ebb5906d1d4e8e525b32a1c23;hp=f4c42f89a95fd534b7ca6b24eee92df32b8e5c7d;hpb=ccea277caf476cdfef4c0f953df5a97062d8be42;p=live-boot-grml.git diff --git a/scripts/live-bottom/10adduser b/scripts/live-bottom/10adduser index f4c42f8..2065e7a 100755 --- a/scripts/live-bottom/10adduser +++ b/scripts/live-bottom/10adduser @@ -26,7 +26,7 @@ log_begin_msg "Adding live session user..." # live-initramfs script -if [ "${BUILD_SYSTEM}" == "Debian" ]; then +if [ "${BUILD_SYSTEM}" = "Debian" ]; then user_crypted="8Ab05sVQ4LLps" # as in `echo "live" | mkpasswd -s` else user_crypted="U6aMy0wojraho" # "ubuntu" @@ -34,6 +34,7 @@ fi # U6aMy0wojraho is just a blank password chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null < /dev/null @@ -51,6 +52,7 @@ fi # Clear out debconf database again to avoid confusing ubiquity later. chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null <> /root/etc/sudoers # XXX - awful hack to stop xscreensaver locking the screen (#7150) @@ -106,4 +108,8 @@ if [ -L /root/home/$USERNAME/Examples ]; then mv /root/home/$USERNAME/Examples /root/home/$USERNAME/Desktop/ fi +if [ -f "/root/usr/share/apps/khelpcenter/plugins/kubuntu/about-kubuntu.desktop.tobemoved" ]; then + chroot /root install -D -o $USERNAME -g $USERNAME /root/usr/share/apps/khelpcenter/plugins/kubuntu/about-kubuntu.desktop.tobemoved /home/$USERNAME/Desktop/about-kubuntu.desktop +fi + log_end_msg