"--archive" implies "--recursive"
This commit is contained in:
parent
d29ba88b18
commit
27ffe6d933
@ -21,7 +21,7 @@ build {
|
||||
find /tmp/rootfs/ -type f -exec chmod 644 '{}' ';' -exec chown root:root '{}' ';'
|
||||
find /tmp/rootfs/ -type f -regex '.+/\(bin\|cron\..+\)/.+' -exec chmod 755 '{}' ';'
|
||||
find /tmp/rootfs/ -type f -regex '.+/\(etc/wireguard\)/.+' -exec chmod 600 '{}' ';'
|
||||
find /tmp/rootfs/ -mindepth 1 -maxdepth 1 -exec cp -rfla '{}' / ';'
|
||||
find /tmp/rootfs/ -mindepth 1 -maxdepth 1 -exec cp -fla '{}' / ';'
|
||||
rm -rf /tmp/rootfs/
|
||||
EOF
|
||||
,
|
||||
|
Loading…
Reference in New Issue
Block a user