mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
test: preserve symlink in inst_recursive()
On SUSE this function is used to copy symlinks installed in *.wants/ directories. (cherry picked from commit 855bad331e28a03d7ad5831caacd3481db938180)
This commit is contained in:
parent
10b7e0a0af
commit
f52475dcf3
@ -2960,6 +2960,8 @@ inst_recursive() {
|
||||
while read -r item; do
|
||||
if [[ -d "$item" ]]; then
|
||||
inst_dir "$item"
|
||||
elif [[ -L "$item" ]]; then
|
||||
inst_symlink "$item"
|
||||
elif [[ -f "$item" ]]; then
|
||||
inst_simple "$item"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user