mirror of
https://git.proxmox.com/git/debcargo-conf
synced 2025-08-10 16:52:57 +00:00
silent stuff for upload
This commit is contained in:
parent
46b10e3d8e
commit
a8782b04fd
10
update.sh
10
update.sh
@ -45,17 +45,17 @@ if ! grep -q uploaders "$PKGCFG"; then
|
|||||||
uploader="${uploader:-$DEBFULLNAME <$DEBEMAIL>}"
|
uploader="${uploader:-$DEBFULLNAME <$DEBEMAIL>}"
|
||||||
sed -i -e 's/^\(overlay.*\)$/\1\nuploaders = ["'"$uploader"'"]/' "$PKGCFG"
|
sed -i -e 's/^\(overlay.*\)$/\1\nuploaders = ["'"$uploader"'"]/' "$PKGCFG"
|
||||||
echo >&2 "$0: Auto-added $uploader to uploaders in debcargo.toml, based on d/copyright"
|
echo >&2 "$0: Auto-added $uploader to uploaders in debcargo.toml, based on d/copyright"
|
||||||
if [ "$uploader" != "$DEBFULLNAME <$DEBEMAIL>" ]; then
|
# if [ "$uploader" != "$DEBFULLNAME <$DEBEMAIL>" ]; then
|
||||||
read >&2 -p "$0: You may also want to add yourself; ctrl-c if you want to do that, or press enter to continue... " x
|
## read >&2 -p "$0: You may also want to add yourself; ctrl-c if you want to do that, or press enter to continue... " x
|
||||||
fi
|
# fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
run_debcargo
|
run_debcargo
|
||||||
git add -N "$PKGDIR"
|
git add -N "$PKGDIR"
|
||||||
|
|
||||||
if ! git diff --quiet -- "$PKGDIR_REL"; then
|
if ! git diff --quiet -- "$PKGDIR_REL"; then
|
||||||
read -p "Update wrote some changes to $PKGDIR_REL, press enter to git diff..." x || true
|
# read -p "Update wrote some changes to $PKGDIR_REL, press enter to git diff..." x || true
|
||||||
git diff -- "$PKGDIR_REL"
|
# git diff -- "$PKGDIR_REL"
|
||||||
echo >&2 "-- end of git diff --"
|
echo >&2 "-- end of git diff --"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user