[util-iso] fix profile check after renaming Packages file

This commit is contained in:
udeved 2015-02-13 18:58:23 +01:00
parent e22ca31233
commit bda1e97cc4

View file

@ -25,7 +25,7 @@ run_log(){
}
check_run_dir(){
if [[ ! -f shared/Packages ]];then
if [[ ! -f shared/initsys-systemd ]] || [[ ! -f shared/initsys-openrc ]];then
die "${0##*/} is not run in a valid iso-profiles folder!"
fi
}