common/hooks/post-install: reorder some hooks so that no unnecessary INSTALL/REMOVE scripts are generated.

This commit is contained in:
Juan RP 2014-03-18 07:54:12 +01:00
parent fa35b14201
commit 9b60085684
3 changed files with 2 additions and 0 deletions

View file

@ -7,4 +7,6 @@ hook() {
rmdir --ignore-fail-on-non-empty -p "$f" &>/dev/null
msg_warn "$pkgver: removed empty dir: ${_dir}\n"
done
# Create PKGDESTDIR in case it has been removed previously.
mkdir -p ${PKGDESTDIR}
}