mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
test: install symlinks with valid targets on SUSE and Debian
This commit is contained in:
parent
fa2745a3e1
commit
f8d527aa9a
@ -1144,7 +1144,7 @@ install_debian_systemd() {
|
||||
ddebug "Install debian files from package $deb"
|
||||
for file in $files; do
|
||||
[ -e "$file" ] || continue
|
||||
[ -d "$file" ] && continue
|
||||
[ ! -L "$file" ] && [ -d "$file" ] && continue
|
||||
inst "$file"
|
||||
done
|
||||
done < <(grep -E '^Package:' "${SOURCE_DIR}/debian/control" | cut -d ':' -f 2)
|
||||
@ -1174,7 +1174,7 @@ install_suse_systemd() {
|
||||
ddebug "Install files from package $p"
|
||||
while read -r f; do
|
||||
[ -e "$f" ] || continue
|
||||
[ -d "$f" ] && continue
|
||||
[ ! -L "$file" ] && [ -d "$file" ] && continue
|
||||
inst "$f"
|
||||
done < <(rpm -ql "$p")
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user