diff --git a/rootfs/usr/local/bin/pkmgr b/rootfs/usr/local/bin/pkmgr index 4a3575e..3cd10ba 100755 --- a/rootfs/usr/local/bin/pkmgr +++ b/rootfs/usr/local/bin/pkmgr @@ -110,7 +110,7 @@ install) for pkg in $install_list; do echo "installing packages command: $pkmgr_install_cmd $pkg" $pkmgr_install_cmd $pkg - [ -n "$pkmgr_install_post" ] && eval $pkmgr_install_post + if [ -n "$pkmgr_install_post" ]; then eval $pkmgr_install_post; fi done exit ;;