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

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Feb 9 09:43:38 UTC 2015


    Date: Monday, February 9, 2015 @ 10:43:37
  Author: mtorromeo
Revision: 127355

upgpkg: percona-server 5.6.22_72.0-1

No user removal at uninstall time and update to 5.6.22_72.0

Modified:
  percona-server/trunk/PKGBUILD
  percona-server/trunk/percona.install

-----------------+
 PKGBUILD        |    6 +++---
 percona.install |   10 ----------
 2 files changed, 3 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-09 09:06:21 UTC (rev 127354)
+++ PKGBUILD	2015-02-09 09:43:37 UTC (rev 127355)
@@ -3,10 +3,10 @@
 
 pkgbase=percona-server
 pkgname=('libperconaserverclient' 'percona-server-clients' 'percona-server')
-pkgver=5.6.22_71.0
+pkgver=5.6.22_72.0
 _pkgver=${pkgver/_/-}
 _myver=${pkgver/_rel*}
-pkgrel=2
+pkgrel=1
 arch=('i686' 'x86_64')
 makedepends=('cmake' 'openssl' 'zlib' 'libaio' 'systemd-tools')
 license=('GPL')
@@ -141,7 +141,7 @@
 	rm usr/share/man/man1/mysql-test-run.pl.1
 }
 
-sha256sums=('0a7269a71e009bc802adef1dd3502562f22b881b7f88823ca84c987724dcf10c'
+sha256sums=('24eba36d13fbdd6c29528c32dc69b6767f0bacfba37d9de6b9637fdddccb314d'
             '82a241d9fa4032187a26597d044e94ba810b209b53a7ce14bb6eb92555993a48'
             '9bc66470f3f80534c0bb62f9f8325ccf60b164f421f74ad74a963f065d7b1869'
             'e638a2657085f15b6728f43c1fd6aa551b27608fbf6b435e33afd3606a0cfb0e'

Modified: percona.install
===================================================================
--- percona.install	2015-02-09 09:06:21 UTC (rev 127354)
+++ percona.install	2015-02-09 09:43:37 UTC (rev 127355)
@@ -9,7 +9,6 @@
   if [[ ! -e $datadir ]]; then
     install -dm700 $datadir
     mysql_install_db --user=mysql --basedir=/usr --datadir=$datadir
-    chown -R mysql:mysql $datadir &>/dev/null
   fi
 
   systemd-tmpfiles --create mysqld.conf
@@ -24,12 +23,3 @@
     echo " >> "
   fi
 }
-
-post_remove(){
-  if getent passwd mysql >/dev/null 2>&1; then
-    userdel mysql
-  fi
-  if getent group mysql >/dev/null 2>&1; then
-    groupdel mysql
-  fi
-}



More information about the arch-commits mailing list