kiss: clean up
This commit is contained in:
parent
8454628266
commit
61b1832c51
6
kiss
6
kiss
|
@ -668,11 +668,7 @@ pkg_install() {
|
||||||
|
|
||||||
# If the package is already installed (and this is an upgrade) make a
|
# If the package is already installed (and this is an upgrade) make a
|
||||||
# backup of the manifest file.
|
# backup of the manifest file.
|
||||||
if [ -f "$sys_db/$pkg_name/manifest" ]; then
|
old_manifest=$(cat "$sys_db/$pkg_name/manifest" 2>/dev/null ||:)
|
||||||
old_manifest=$(cat "$sys_db/$pkg_name/manifest")
|
|
||||||
else
|
|
||||||
old_manifest=
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This is repeated multiple times. Better to make it a function.
|
# This is repeated multiple times. Better to make it a function.
|
||||||
pkg_rsync() {
|
pkg_rsync() {
|
||||||
|
|
Loading…
Reference in New Issue