Skip to content
Snippets Groups Projects
Commit 186edf62 authored by Sertonix's avatar Sertonix Committed by Natanael Copa
Browse files

abuild: fix usrmerge warning with symlinks

Fixes <da9269ba> abuild: warn when files are installed to non-usr locations
parent 35b6b301
No related branches found
No related tags found
1 merge request!320abuild: fix usrmerge warning with symlinks
Pipeline #264385 passed
...@@ -804,7 +804,7 @@ postcheck() { ...@@ -804,7 +804,7 @@ postcheck() {
# /usr merge # /usr merge
if ! options_has "!usrmerge"; then if ! options_has "!usrmerge"; then
for i in bin sbin lib; do for i in bin sbin lib; do
if [ -e "$dir"/$i ]; then if [ -L "$dir"/$i ] || [ -e "$dir"/$i ]; then
warning "Packages must not put anything under /$i, use /usr/${i##*s} instead" warning "Packages must not put anything under /$i, use /usr/${i##*s} instead"
e=1 e=1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment