summaryrefslogtreecommitdiff
path: root/testing/mysql/mysql.install
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-25 11:34:48 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-25 11:34:48 -0300
commitf8f8c2edc0a58f29e716f32453ee296980faef03 (patch)
tree36550328b2ffc701ee93ee0d3f19f11d972e850e /testing/mysql/mysql.install
parent8b3071c77c79bbf0f373ca9b8ce0795c55d03669 (diff)
parentc52a1a6eb4ad278a7b6d9eeeb9c7c88f73ca8d8c (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/angband/PKGBUILD community/bashburn/PKGBUILD community/qgis/PKGBUILD core/libldap/PKGBUILD core/tcp_wrappers/PKGBUILD extra/openldap/PKGBUILD extra/speedtouch/PKGBUILD libre/kernel26-libre/PKGBUILD
Diffstat (limited to 'testing/mysql/mysql.install')
-rw-r--r--testing/mysql/mysql.install26
1 files changed, 0 insertions, 26 deletions
diff --git a/testing/mysql/mysql.install b/testing/mysql/mysql.install
deleted file mode 100644
index 9a4479215..000000000
--- a/testing/mysql/mysql.install
+++ /dev/null
@@ -1,26 +0,0 @@
-post_install(){
- groupadd -g 89 mysql &>/dev/null
- useradd -u 89 -g mysql -d /var/lib/mysql -s /bin/false mysql &>/dev/null
- usr/bin/mysql_install_db --user=mysql --basedir=/usr
- chown -R mysql:mysql var/lib/mysql &>/dev/null
-}
-
-post_upgrade(){
- getent group mysql >/dev/null 2>&1 || groupadd -g 89 mysql &>/dev/null
- getent passwd mysql >/dev/null 2>&1 || useradd -u 89 -g mysql -d /var/lib/mysql -s /bin/false mysql &>/dev/null
-
- if [ "$(vercmp $2 5.5)" -lt 0 ]; then
- echo " >> "
- echo " >> Major version update. Consider restart the service, and then running mysql_upgrade after it."
- 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
-}