deletecache
This commit is contained in:
parent
f13f1927d5
commit
a4f8788617
1 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,7 @@ if [[ $EUID -ne 0 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# full parameters
|
# 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_name=spectre_os
|
||||||
iso_label="SPECTRE_OS"
|
iso_label="SPECTRE_OS"
|
||||||
|
@ -26,6 +26,7 @@ for wort in "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
|
||||||
do
|
do
|
||||||
echo "$wort"
|
echo "$wort"
|
||||||
if [ "$wort" == "deletework" ]; then deletework=y; fi
|
if [ "$wort" == "deletework" ]; then deletework=y; fi
|
||||||
|
if [ "$wort" == "deletecache" ]; then deletecache=y; fi
|
||||||
if [ "$wort" == "makesystem" ]; then makesystem=y; fi
|
if [ "$wort" == "makesystem" ]; then makesystem=y; fi
|
||||||
if [ "$wort" == "mkinitcpio" ]; then mkinitcpio=y; fi
|
if [ "$wort" == "mkinitcpio" ]; then mkinitcpio=y; fi
|
||||||
if [ "$wort" == "filesystem" ]; then filesystem=y; fi
|
if [ "$wort" == "filesystem" ]; then filesystem=y; fi
|
||||||
|
@ -50,7 +51,7 @@ fi
|
||||||
function minimalinstallation() {
|
function minimalinstallation() {
|
||||||
cp mirrorlist* /etc/pacman.d/
|
cp mirrorlist* /etc/pacman.d/
|
||||||
|
|
||||||
if [ "${deletework}" == "y" ]; then
|
if [ "${deletecache}" == "y" ]; then
|
||||||
pacman -Scc <<EOT
|
pacman -Scc <<EOT
|
||||||
j
|
j
|
||||||
j
|
j
|
||||||
|
|
Loading…
Reference in a new issue