1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 18:55:40 +03:00

test: preserve symlink in inst_recursive()

On SUSE this function is used to copy symlinks installed in *.wants/
directories.
This commit is contained in:
Franck Bui 2024-07-02 15:20:18 +02:00
parent 56a894e888
commit 855bad331e

View File

@ -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