❦ 14 avril 2013 22:17 CEST, Vincent Bernat <ber...@debian.org> : > I am trying to package a MySQL plugin. I need to execute "UNINSTALL > PLUGIN XXXX;". If I put this command in PACKAGE/remove/mysql, I get an > error because the plugin is needed when dumping the table. I would > like this command to be run only after the database has been dropped. > > Would it be possible to add such a script? Or maybe there is a simple > workaround?
In prerm, here is my current workaround: dbc_go pinba-engine-mysql-5.5 $@ case "$1" in remove) if [ "$dbc_purge" = "true" ]; then dbc_logpart "uninstalling pinba plugin... " rem=`dbc_mktemp` echo "UNINSTALL PLUGIN pinba;" > $rem _dbc_nodb="yes" $dbc_sqlfile_cmd $rem || dbc_remove_error "uninstalling pinba plugin" rm -f $rem dbc_logline "done" fi ;; esac -- printk("What? oldfid != cii->c_fid. Call 911.\n"); 2.4.3 linux/fs/coda/cnode.c
pgpOpjTgEP0AG.pgp
Description: PGP signature