File: mysql-common.postrm

package info (click to toggle)
mysql 3.23.49-8.13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 65,624 kB
  • ctags: 45,242
  • sloc: ansic: 255,722; cpp: 86,801; perl: 26,117; tcl: 19,882; sh: 18,775; asm: 4,001; yacc: 2,626; makefile: 2,494; java: 2,300; awk: 1,484; sed: 428
file content (9 lines) | stat: -rw-r--r-- 129 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ "$1" = "purge" ]; then
  if [ -z "`ls /etc/mysql 2>/dev/null`" ]; then
    rmdir /etc/mysql
  fi
fi

#DEBHELPER#