commit 0f7dd1c60d1959eb126dbde81a79d1351b2b9094
parent 1113ae57706b1ad2345c96c3c3a40a09b8553f01
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Thu, 20 Feb 2020 00:51:16 +0200
docs: update
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/kiss b/kiss
@@ -843,7 +843,6 @@ pkg_remove() {
# overwritten.
pkg_list "$1" >/dev/null || return
- # Enable globbing.
set +f
# Make sure that nothing depends on this package.
@@ -857,7 +856,6 @@ pkg_remove() {
[ "$required_by" ] &&
die "$1" "Package is required by ${required_by%, }"
- # Disable globbing.
set -f
# Block being able to abort the script with 'Ctrl+C' during removal.
@@ -1136,7 +1134,6 @@ pkg_updates() {
log "Checking for new package versions"
- # Enable globbing.
set +f
for pkg in "$sys_db/"*; do
@@ -1154,7 +1151,6 @@ pkg_updates() {
}
done
- # Disable globbing.
set -f
# If the package manager has an update, handle it first.