docs: update
This commit is contained in:
parent
42a9397567
commit
be20483716
6
kiss
6
kiss
|
@ -600,8 +600,8 @@ pkg_remove() {
|
||||||
die "[$1]: Package is required by ${required_by%, }." \
|
die "[$1]: Package is required by ${required_by%, }." \
|
||||||
"[$1]: Aborting here..."
|
"[$1]: Aborting here..."
|
||||||
|
|
||||||
# Block being able to abort the script with 'Ctrl+C' during installation.
|
# Block being able to abort the script with 'Ctrl+C' during removal.
|
||||||
# Removes all risk of the user aborting a package installation leaving
|
# Removes all risk of the user aborting a package removal leaving
|
||||||
# an incomplete package installed.
|
# an incomplete package installed.
|
||||||
trap '' INT
|
trap '' INT
|
||||||
|
|
||||||
|
@ -618,7 +618,7 @@ pkg_remove() {
|
||||||
fi
|
fi
|
||||||
done < "$KISS_ROOT/$pkg_db/$1/manifest"
|
done < "$KISS_ROOT/$pkg_db/$1/manifest"
|
||||||
|
|
||||||
# Reset 'trap' to its original value. Installation is done so
|
# Reset 'trap' to its original value. Removal is done so
|
||||||
# we no longer need to block 'Ctrl+C'.
|
# we no longer need to block 'Ctrl+C'.
|
||||||
trap pkg_clean EXIT INT
|
trap pkg_clean EXIT INT
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue