File: clean-install.sh

package info (click to toggle)
wine 1.4.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 156,772 kB
  • sloc: ansic: 2,124,295; perl: 17,673; yacc: 12,202; makefile: 7,447; sh: 3,981; lex: 3,913; cpp: 812; awk: 69; xml: 21; sed: 3
file content (12 lines) | stat: -rw-r--r-- 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
SUFFIX="$1"

for ext in install links mime config preinst postinst prerm postrm docs manpages lintian-overrides bugcontrol; do
  for inst in debian/*.${ext}-common; do
    package="$(basename "$inst" .${ext}-common)"
    rm -f debian/$package$SUFFIX.${ext}
  done
done

# return success
true