From a4f87886175c065e4e57b3c628d58dee2ec03bfa Mon Sep 17 00:00:00 2001 From: simono41 Date: Thu, 10 May 2018 07:01:12 +0200 Subject: [PATCH] deletecache --- make_mksquashfs-auto.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index 83558cc..8100bca 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -9,7 +9,7 @@ if [[ $EUID -ne 0 ]]; then fi # full parameters -# ./make_mksquashfs-auto.sh xfce4 deletework makesystem mkinitcpio filesystem initcheck makeimage makebios makeiso +# ./make_mksquashfs-auto.sh xfce4 deletework deletecache makesystem mkinitcpio filesystem initcheck makeimage makebios makeiso iso_name=spectre_os iso_label="SPECTRE_OS" @@ -26,6 +26,7 @@ for wort in "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" do echo "$wort" if [ "$wort" == "deletework" ]; then deletework=y; fi + if [ "$wort" == "deletecache" ]; then deletecache=y; fi if [ "$wort" == "makesystem" ]; then makesystem=y; fi if [ "$wort" == "mkinitcpio" ]; then mkinitcpio=y; fi if [ "$wort" == "filesystem" ]; then filesystem=y; fi @@ -50,7 +51,7 @@ fi function minimalinstallation() { cp mirrorlist* /etc/pacman.d/ - if [ "${deletework}" == "y" ]; then + if [ "${deletecache}" == "y" ]; then pacman -Scc <