1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-21 08:15:01 -05:00

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

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`