kiss: More portable cp flags

This commit is contained in:
Dylan Araps 2020-04-22 20:08:47 +03:00
parent 132ce20099
commit e924bb2ec2
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -891,7 +891,7 @@ pkg_etc() {
;;
esac
cp -af "$file" "$KISS_ROOT/${file}${new}"
cp -fPp "$file" "$KISS_ROOT/${file}${new}"
chown root:root "$KISS_ROOT/${file}${new}" 2>/dev/null
done) ||:
}