[Groonga-mysql-commit] mroonga/mroonga at baf4d6b [master] deb: don't execute uninstall script which is already removed

アーカイブの一覧に戻る

HAYASHI Kentaro null+****@clear*****
Mon Jul 28 17:44:45 JST 2014


HAYASHI Kentaro	2014-07-28 17:44:45 +0900 (Mon, 28 Jul 2014)

  New Revision: baf4d6bcd6be8ecbd9ddd1fc26b0244e16a31f32
  https://github.com/mroonga/mroonga/commit/baf4d6bcd6be8ecbd9ddd1fc26b0244e16a31f32

  Message:
    deb: don't execute uninstall script which is already removed
    
    uninstall.sql is already removed on postrm sequence,
    so execute such a script on prerm sequence.

  Added files:
    packages/debian/mysql-server-mroonga.prerm
  Modified files:
    packages/debian/mysql-server-mroonga.postrm

  Modified: packages/debian/mysql-server-mroonga.postrm (+0 -3)
===================================================================
--- packages/debian/mysql-server-mroonga.postrm    2014-07-28 17:35:08 +0900 (0da8ec6)
+++ packages/debian/mysql-server-mroonga.postrm    2014-07-28 17:44:45 +0900 (84d7f1e)
@@ -2,9 +2,6 @@
 
 set -e
 
-cat /usr/share/mroonga/uninstall.sql | \
-    mysql --defaults-file=/etc/mysql/debian.cnf || true
-
 if [ "$1" = "purge" ]; then
     mysql_apparmor_profile_name=usr.sbin.mysqld
     mysql_apparmor_profile=/etc/apparmor.d/${mysql_apparmor_profile_name}

  Added: packages/debian/mysql-server-mroonga.prerm (+10 -0) 100755
===================================================================
--- /dev/null
+++ packages/debian/mysql-server-mroonga.prerm    2014-07-28 17:44:45 +0900 (7fad990)
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+set -e
+
+cat /usr/share/mroonga/uninstall.sql | \
+    mysql --defaults-file=/etc/mysql/debian.cnf || true
+
+#DEBHELPER#
+
+exit 0
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-mysql-commit mailing list
アーカイブの一覧に戻る