Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/6f5788b415c0812bbcb539abed9d53f50c6e24a4?style=unified&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
33 additions and
0 deletions
buildDebianPackage
buildDebianPackageQmake-Qt4
@ -27,6 +27,22 @@ notifyError(){
exit 1
}
alertIfPreviousVersionInstalled(){
APT_CACHE=`which apt-cache`
if [ ! -e "$APT_CACHE" ]; then
notifyError "apt-cache command not found"
else
SEARCH_RESULT=`$APT_CACHE search open-sankore`
if [ `echo $SEARCH_RESULT | grep -c open-sankore` -ge 1 ]; then
notifyError "Found a previous version of Open-Sankore. Remove it to avoid to put it as dependency"
fi
fi
}
alertIfPreviousVersionInstalled
rm -rf "build/linux/release"
rm -rf install
@ -29,6 +29,23 @@ if [ $# == "1" ]; then
fi
alertIfPreviousVersionInstalled(){
APT_CACHE=`which apt-cache`
if [ ! -e "$APT_CACHE" ]; then
notifyError "apt-cache command not found"
else
SEARCH_RESULT=`$APT_CACHE search open-sankore`
if [ `echo $SEARCH_RESULT | grep -c open-sankore` -ge 1 ]; then
notifyError "Found a previous version of Open-Sankore. Remove it to avoid to put it as dependency"
fi
fi
}
alertIfPreviousVersionInstalled
ARCHITECTURE=`uname -m`
rm -rf "build/linux/release"