forked from kiss-community/kiss
kiss: Minor change
This commit is contained in:
parent
09fa052fe2
commit
64d0ef3f90
6
kiss
6
kiss
@ -970,11 +970,9 @@ pkg_install() {
|
|||||||
cp -f "$sys_db/$pkg_name/etcsums" "$mak_dir/c" 2>/dev/null ||:
|
cp -f "$sys_db/$pkg_name/etcsums" "$mak_dir/c" 2>/dev/null ||:
|
||||||
|
|
||||||
# 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() { rsync --chown=root:root --chmod=Du-s,Dg-s,Do-s \
|
||||||
rsync --chown=root:root --chmod=Du-s,Dg-s,Do-s \
|
|
||||||
-WhHKa --no-compress --exclude /etc "$1" \
|
-WhHKa --no-compress --exclude /etc "$1" \
|
||||||
"$tar_dir/$pkg_name/" "$KISS_ROOT/"
|
"$tar_dir/$pkg_name/" "$KISS_ROOT/"; }
|
||||||
}
|
|
||||||
|
|
||||||
# Install the package by using 'rsync' and overwrite any existing files
|
# Install the package by using 'rsync' and overwrite any existing files
|
||||||
# (excluding '/etc/').
|
# (excluding '/etc/').
|
||||||
|
Loading…
Reference in New Issue
Block a user