[arch-commits] Commit in screen/trunk (PKGBUILD screen.install)

Thomas Bächler thomas at archlinux.org
Wed Oct 31 18:06:22 UTC 2012


    Date: Wednesday, October 31, 2012 @ 14:06:22
  Author: thomas
Revision: 170072

upgpkg: screen 4.0.3-15: Add post_upgrade warning regarding new screen socket location

Modified:
  screen/trunk/PKGBUILD
  screen/trunk/screen.install

----------------+
 PKGBUILD       |    2 +-
 screen.install |    5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-31 14:01:16 UTC (rev 170071)
+++ PKGBUILD	2012-10-31 18:06:22 UTC (rev 170072)
@@ -4,7 +4,7 @@
 
 pkgname=screen
 pkgver=4.0.3
-pkgrel=14
+pkgrel=15
 _ptygroup=5 #the UID of our PTY/TTY group
 pkgdesc="Full-screen window manager that multiplexes a physical terminal"
 arch=('i686' 'x86_64')

Modified: screen.install
===================================================================
--- screen.install	2012-10-31 14:01:16 UTC (rev 170071)
+++ screen.install	2012-10-31 18:06:22 UTC (rev 170072)
@@ -10,6 +10,11 @@
 
 post_upgrade() {
     post_install $1
+    if [ $(vercmp $2 4.0.3-15) -lt 0 ]; then
+        echo 'The location of the screen sockets has changed.'
+        echo 'If you need to access running screen sessions, run'
+        echo '  # SCREENDIR=/tmp/screens/S-$USER/ screen ...'
+    fi
 }
 
 pre_remove() {




More information about the arch-commits mailing list