another tweak to stop aborting updates

This commit is contained in:
Travis Burtrum 2016-11-28 17:34:03 -05:00
parent 4f25b59774
commit a77fde4bd2
1 changed files with 2 additions and 2 deletions

View File

@ -166,8 +166,8 @@ update() {
done
# Check if package has uncommited changes
if [ $(git -C $basedir diff HEAD $basedir/src/$pkg | wc -l) -gt 0 ]; then
echo "Package $pkg has uncommited changes. Commit or discard those changes first."
return 1
echo "warning: Package $pkg has uncommited changes. Commit or discard those changes first."
#return 1
fi
# Use a temporary dir to download all PKGBUILDS atomically
[ -z "$tmp_dl" ] && tmp_dl=`mktemp -d`