diff --git a/plugins/supervisor/install.sh b/plugins/supervisor/install.sh index fb2c57e13..32fce94b9 100755 --- a/plugins/supervisor/install.sh +++ b/plugins/supervisor/install.sh @@ -16,8 +16,9 @@ OSNAME=`cat ${rootPath}/data/osname.pl` OSNAME_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` - -source ${rootPath}/bin/activate +if [ -f ${rootPath}/bin/activate ];then + source ${rootPath}/bin/activate +fi Install_app() {