Commit 77eb895c authored by Natanael Copa's avatar Natanael Copa

abuild: fix install script verification

we might have '.' in pkgname as in gtk+2.0
parent f8813c15
...@@ -122,7 +122,7 @@ sanitycheck() { ...@@ -122,7 +122,7 @@ sanitycheck() {
for i in $install; do for i in $install; do
local n=${i%.*} local n=${i%.*}
local suff=${i#*.} local suff=${i##*.}
case "$suff" in case "$suff" in
pre-install|post-install|pre-upgrade|post-upgrade|pre-deinstall|post-deinstall);; pre-install|post-install|pre-upgrade|post-upgrade|pre-deinstall|post-deinstall);;
*) die "$i: unknown install script suffix" *) die "$i: unknown install script suffix"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment