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:
parent
4f25b59774
commit
a77fde4bd2
4
arch-ppa
4
arch-ppa
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user