]> git.t-rg.ws Git - slackbuilds.git/commitdiff
Add QoL features to maintainer's helper script
authorfsLeg <fsleg@t-rg.ws>
Fri, 5 Dec 2025 14:10:10 +0000 (17:10 +0300)
committerfsLeg <fsleg@t-rg.ws>
Fri, 5 Dec 2025 14:10:10 +0000 (17:10 +0300)
update-version.sh

index c5f8a62b401372f93e759a36fd44cefb2b0eb121..d75c0c95a70858cf2f3cc20e05047e6fa6529e0f 100755 (executable)
@@ -31,6 +31,9 @@ fi
 
 if [ -f mkvendor.sh ]; then
   sh mkvendor.sh
+  # send a notification before entering password
+  tput bel || echo -e '\a' || true
+  echo put $PRGNAM-$VERSION-vendored-sources.tar* | sftp sawako:/media/slab1/sbo
 fi
 
 if [ "$DOWNLOAD" != "UNSUPPORTED" ]; then
@@ -49,4 +52,8 @@ fi
 sbofixinfo
 rm -f "$PRGNAM.info.bak"
 
+if [ -z "$NOBUILD" ]; then
+  time fakeroot bash $PRGNAM.SlackBuild
+fi
+
 cd "$CWD"