dev
This commit is contained in:
parent
80e252f91b
commit
99d4b8c732
@ -401,14 +401,15 @@ pkgPushToAUR() { # $1=PKGNAME
|
|||||||
chown -R pkgbuilder "${TMPDIR}"
|
chown -R pkgbuilder "${TMPDIR}"
|
||||||
# shellcheck disable=SC2024
|
# shellcheck disable=SC2024
|
||||||
sudo -u pkgbuilder makepkg --printsrcinfo > .SRCINFO
|
sudo -u pkgbuilder makepkg --printsrcinfo > .SRCINFO
|
||||||
|
chown -R root "${TMPDIR}"
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "Version ${PKGVERSION}"
|
git commit -a -m "Version ${PKGVERSION}"
|
||||||
|
|
||||||
#if ! git push --config core.sshCommand="ssh -i ${AURSSHKEY}"; then
|
if ! git push; then
|
||||||
# rm -rf "${TMPDIR}"
|
rm -rf "${TMPDIR}"
|
||||||
# return 1
|
return 1
|
||||||
#fi
|
fi
|
||||||
#rm -rf "${TMPDIR}"
|
rm -rf "${TMPDIR}"
|
||||||
}
|
}
|
||||||
|
|
||||||
CNFFILE="/etc/pkgbuilder/config"
|
CNFFILE="/etc/pkgbuilder/config"
|
||||||
|
Loading…
Reference in New Issue
Block a user