Commit 1f7ddd0f authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-repack: fix check_packfile

parent ff0d97be
...@@ -97,8 +97,8 @@ __check_packrule() ...@@ -97,8 +97,8 @@ __check_packrule()
{ {
local pkg="$1" local pkg="$1"
local alf="$CONFIGDIR/packrules.list" local alf="$CONFIGDIR/packrules.list"
[ -s "$pkg" ] || return 1
[ -s "$alf" ] || return 1 [ -s "$alf" ] || return 1
[ -n "$pkg" ] || return 1
local tmpalf=$(__convert_packrule_to_regexp "$alf") local tmpalf=$(__convert_packrule_to_regexp "$alf")
remove_on_exit $tmpalf remove_on_exit $tmpalf
......
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