diff options
author | BloodyAltair | 2019-10-23 05:54:21 +0300 |
---|---|---|
committer | BloodyAltair | 2019-10-23 05:54:21 +0300 |
commit | becc43d58bb30c7cfb954d70dacf11660dbad8d8 (patch) | |
tree | dbbdb45cc2c33661caae118344a182f254a89a5d | |
parent | a5ec9378923fa5c500d53872c93c9b424933ba90 (diff) | |
download | aur-becc43d58bb30c7cfb954d70dacf11660dbad8d8.tar.gz |
Repo updater script update. Now it will notify and wait(!) before update
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rwxr-xr-x | repo_upgrader.sh | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -23,6 +23,7 @@ pkgbase = firefox-nightly-ru optdepends = speech-dispatcher: text-to-speech optdepends = startup-notification: support for FreeDesktop Startup Notification optdepends = jq: updater script support + optdepends = zenity: updater script support conflicts = firefox-nightly source = firefox-nightly.desktop source = firefox-nightly-ru.install @@ -22,7 +22,8 @@ optdepends=('pulseaudio: audio support' 'networkmanager: location detection via available WiFi networks' 'speech-dispatcher: text-to-speech' 'startup-notification: support for FreeDesktop Startup Notification' - 'jq: updater script support') + 'jq: updater script support' + 'zenity: updater script support') conflicts=('firefox-nightly') install=${pkgname}.install source=('firefox-nightly.desktop' diff --git a/repo_upgrader.sh b/repo_upgrader.sh index 0a315ae8fb2c..d951c66413d1 100755 --- a/repo_upgrader.sh +++ b/repo_upgrader.sh @@ -7,4 +7,4 @@ # This script can be useful ONLY for repo contributors # #################################################### cd $(dirname "$0") -./update.sh && git pull && makepkg --printsrcinfo > .SRCINFO && git add PKGBUILD .SRCINFO && ./update.sh | grep -oP "^\w+: [0-9a-z.]+, \w+: \K([0-9a-z.]+)$" | awk '{print "Update to " $1}' | git commit -F - && git push +./update.sh && zenity --info --text "AUR-репозиторий пакета firefox-nightly-ru сейчас будет обновлен" --no-wrap && git pull && makepkg --printsrcinfo > .SRCINFO && git add PKGBUILD .SRCINFO && ./update.sh | grep -oP "^\w+: [0-9a-z.]+, \w+: \K([0-9a-z.]+)$" | awk '{print "Update to " $1}' | git commit -F - && git push |