Fix leftovers with INFO_SUBDIR
This commit is contained in:
parent
ed2705a564
commit
df3df5c8a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334169
1 changed files with 3 additions and 0 deletions
|
@ -12,3 +12,6 @@ post-deinstall: |
|
|||
if [ $(info -d ${file%/*} --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
|
||||
rm -f ${file%/*}/dir
|
||||
fi
|
||||
if [ ${file%/*} != "%D/info" ]; then
|
||||
rmdir ${file%/*} 2> /dev/null || true
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue