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

Antonio Rojas arojas at archlinux.org
Wed Feb 4 08:24:02 UTC 2015


    Date: Wednesday, February 4, 2015 @ 09:24:01
  Author: arojas
Revision: 127071

userdel todo list

Modified:
  sage-notebook/trunk/PKGBUILD
  sage-notebook/trunk/sage-notebook.install

-----------------------+
 PKGBUILD              |    2 +-
 sage-notebook.install |    8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-04 07:06:23 UTC (rev 127070)
+++ PKGBUILD	2015-02-04 08:24:01 UTC (rev 127071)
@@ -4,7 +4,7 @@
 
 pkgname=sage-notebook
 pkgver=0.11.1
-pkgrel=3
+pkgrel=4
 pkgdesc='Web-based notebook interface for Sage'
 arch=('any')
 url='http://www.sagemath.org'

Modified: sage-notebook.install
===================================================================
--- sage-notebook.install	2015-02-04 07:06:23 UTC (rev 127070)
+++ sage-notebook.install	2015-02-04 08:24:01 UTC (rev 127071)
@@ -1,14 +1,8 @@
 post_install() {
   update-desktop-database -q
-
-  getent passwd sagemath > /dev/null && userdel sagemath
 }
 
 post_upgrade() {
-  update-desktop-database -q
-
-  if [ "$(vercmp $2 0.11.1-3)" -lt 0 ]; then
-    getent passwd sagemath > /dev/null && userdel sagemath 
-  fi
+  post_install
 }
 



More information about the arch-commits mailing list