diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rwxr-xr-x | fetcher.sh | 3 |
3 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = fetcher pkgdesc = Automatic adding, commiting, pushing or pulling of git repos via a systemd service unit. pkgver = 1.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mbrunnen/fetcher install = fetcher.install arch = any @@ -2,7 +2,7 @@ pkgname=fetcher pkgver=1.2 -pkgrel=1 +pkgrel=2 pkgdesc="Automatic adding, commiting, pushing or pulling of git repos via a systemd service unit." arch=('any') url="https://github.com/mbrunnen/fetcher" diff --git a/fetcher.sh b/fetcher.sh index 01a5b724221f..1dca1ecab3fc 100755 --- a/fetcher.sh +++ b/fetcher.sh @@ -100,7 +100,8 @@ for ((i=0; i < ${#lines[@]}; i++)); do if $dryrun; then cmd="git -C $path add -n -A" cmd="$cmd && git -C $path commit -n -v" - cmd="$cmd && git -C $path push -n $remote $branch" + # Push nonetheles + cmd="$cmd; git -C $path push -n $remote $branch" else cmd="git -C $path add -A" cmd="$cmd && git -C $path commit -v" |