From 06ab2e9613d4612f5a3a5baf10c377bece64fc4a Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Wed, 11 Jul 2018 23:08:41 -0500 Subject: [PATCH] Ensure that calamares.desktop is removed from all new users on a freshly-installed system. --- debian/changelog | 2 ++ lubuntu/modules/shellprocess.conf | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3f3dbc8..5275113 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ calamares-settings-ubuntu (7) UNRELEASED; urgency=medium * Fix geoip timezone detection. * Update translations and add support for Portuguese and Brazilian Portuguese. + * Ensure that calamares.desktop is removed from all new users on a + freshly-installed system. -- Simon Quigley Wed, 11 Jul 2018 22:35:58 -0500 diff --git a/lubuntu/modules/shellprocess.conf b/lubuntu/modules/shellprocess.conf index 05495fb..f3edf94 100644 --- a/lubuntu/modules/shellprocess.conf +++ b/lubuntu/modules/shellprocess.conf @@ -3,3 +3,4 @@ timeout: 300 script: - "cp /cdrom/casper/vmlinuz @@ROOT@@/boot/vmlinuz-$(uname -r)" - "[ -d /sys/firmware/efi ] && chroot @@ROOT@@ apt-cdrom add && chroot @@ROOT@@ sed -e '/deb http/ s/^#*/#/' -i /etc/apt/sources.list && chroot @@ROOT@@ apt update && chroot @@ROOT@@ apt -y install grub-efi-amd64-bin && chroot @@ROOT@@ sed -i 's/#deb/deb/' /etc/apt/sources.list || exit 0" + - "for i in `ls @@ROOT@@/home/`; do rm @@ROOT@@/home/$i/Desktop/calamares.desktop || exit 0; done"