File: smoke-cleanup

package info (click to toggle)
libdbd-mysql-perl 4.053-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,128 kB
  • sloc: ansic: 4,780; perl: 836; makefile: 29; sh: 22
file content (7 lines) | stat: -rwxr-xr-x 212 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/bin/sh

[ -z "$AUTOPKGTEST_TMP" ] || cd $TDIR

/usr/bin/mysqladmin --socket=${MYSQL_UNIX_PORT} shutdown 2>&1 || \
[ ! -s "${MYSQL_PIDFILE}" ] || /bin/kill $(cat "${MYSQL_PIDFILE}") || true
rm -rf ${MYSQL_DIR}