diff options
| author | Mhd Sulhan <ms@kilabit.info> | 2016-01-29 19:14:03 +0700 |
|---|---|---|
| committer | Mhd Sulhan <ms@kilabit.info> | 2016-01-29 19:14:03 +0700 |
| commit | bdad0b6e1698b8062f5422f0a855b46605747546 (patch) | |
| tree | 1716a2b51b72e49a12d03ec7068e1e6a13dd7e6b /scripts/_bootstrap_script.sh | |
| parent | 12b169b4bde8259ac9cf87bbc3be6e8e409e88ef (diff) | |
| download | arch-docker-bdad0b6e1698b8062f5422f0a855b46605747546.tar.xz | |
scripts: split variable for normal and forced removed packages.
Diffstat (limited to 'scripts/_bootstrap_script.sh')
| -rwxr-xr-x | scripts/_bootstrap_script.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/_bootstrap_script.sh b/scripts/_bootstrap_script.sh index 341ab52..3ca684e 100755 --- a/scripts/_bootstrap_script.sh +++ b/scripts/_bootstrap_script.sh @@ -76,6 +76,12 @@ bootstrap_remove_packages() { echo "==> remove unneeded packages ..." for pkg in ${PKGS_REMOVED[@]}; do echo " removing $pkg" + pacman -Rs --noconfirm $pkg + done + + echo ">>> force remove packages ..." + for pkg in ${PKGS_REMOVED_FORCE[@]}; do + echo " force removing $pkg" pacman -Rdd --noconfirm $pkg done } |
