Bug fixes

This commit is contained in:
Juan 2018-05-02 12:43:10 +02:00
parent 42d8727c0d
commit 9d2994bf64
2 changed files with 9 additions and 1 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
vn-repo (2.0.29) stable; urgency=low
vn-repo (2.0.30) stable; urgency=low
* Initial Release.

View File

@ -7,10 +7,18 @@ else
srcDir="$1"
fi
buildDir="$srcDir/.."
repreproDir="/var/cache/reprepro"
codename="stable"
owner=`stat -c '%U' "$repreproDir"`
if [ "$onwer" -ne "$USER" ]; then
echo "You must start this script with '$onwer' user"
exit 1
fi
if [ -f "$srcDir/package.json" ]; then
echo -e "\n# Installing Node dependencies\n"
(cd "$srcDir" && npm --silent install)