From e78538b204826c6c732c4b10c29b9848b29af78e Mon Sep 17 00:00:00 2001 From: sose Date: Tue, 22 Sep 2020 18:08:33 -0700 Subject: [PATCH] dont allow disk install if we have already disk installed --- includes.chroot/etc/calamares/modules/shellprocess.conf | 1 + includes.chroot/etc/calamares/userscripts/confirm_install.sh | 2 ++ 2 files changed, 3 insertions(+) create mode 100755 includes.chroot/etc/calamares/userscripts/confirm_install.sh diff --git a/includes.chroot/etc/calamares/modules/shellprocess.conf b/includes.chroot/etc/calamares/modules/shellprocess.conf index c233839..056cb5a 100644 --- a/includes.chroot/etc/calamares/modules/shellprocess.conf +++ b/includes.chroot/etc/calamares/modules/shellprocess.conf @@ -34,3 +34,4 @@ dontChroot: false timeout: 10 script: - "/etc/calamares/userscripts/autologin.sh" + - "/etc/calamares/userscripts/confirm_install.sh" diff --git a/includes.chroot/etc/calamares/userscripts/confirm_install.sh b/includes.chroot/etc/calamares/userscripts/confirm_install.sh new file mode 100755 index 0000000..cb27ceb --- /dev/null +++ b/includes.chroot/etc/calamares/userscripts/confirm_install.sh @@ -0,0 +1,2 @@ +#!/bin/sh +rm '@@ROOT@@/tilde/tl-setup/is_live'