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 19:06:21 +02:00
parent 56a894e888
commit 855bad331e
+2
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