mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
test: install symlinks with valid targets on SUSE and Debian
(cherry picked from commit f8d527aa9a9c724199aeafab45714a94eea2caf3) (cherry picked from commit fca5a45a59a8e4707a92c52bb55c37b2fdd0da7e) (cherry picked from commit e1a7f29467501ade88abfc17b762fc43c53e6864)
This commit is contained in:
parent
3e88053037
commit
4b1da60389
@ -1075,7 +1075,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)
|
||||
@ -1103,7 +1103,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