abuild: fix install script verification

we might have '.' in pkgname as in gtk+2.0
This commit is contained in:
Natanael Copa 2011-06-30 07:52:46 +00:00
parent f8813c1565
commit 77eb895cc7
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ sanitycheck() {
for i in $install; do
local n=${i%.*}
local suff=${i#*.}
local suff=${i##*.}
case "$suff" in
pre-install|post-install|pre-upgrade|post-upgrade|pre-deinstall|post-deinstall);;
*) die "$i: unknown install script suffix"