summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBloodyAltair2019-10-23 05:54:21 +0300
committerBloodyAltair2019-10-23 05:54:21 +0300
commitbecc43d58bb30c7cfb954d70dacf11660dbad8d8 (patch)
treedbbdb45cc2c33661caae118344a182f254a89a5d
parenta5ec9378923fa5c500d53872c93c9b424933ba90 (diff)
downloadaur-becc43d58bb30c7cfb954d70dacf11660dbad8d8.tar.gz
Repo updater script update. Now it will notify and wait(!) before update
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
-rwxr-xr-xrepo_upgrader.sh2
3 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d890e67ab40..8b8125334159 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 3869dadfaee3..69ffab568b94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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