File: postrm

package info (click to toggle)
eperl 2.2.14-21
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,304 kB
  • ctags: 738
  • sloc: ansic: 4,694; perl: 584; sh: 556; makefile: 353
file content (18 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

#  This file was shipped by eperl (<= 2.2.14-7), but since 2.2.14-8
#  users are encouraged to put a symlink to /usr/bin/eperl if they
#  need CGI scripting.  This link is removed when uninstalling eperl.
cgi_nph_eperl=/usr/lib/cgi-bin/nph-eperl

#  This file is managed by postinst, so remove it too.
cgi_suid_eperl=/usr/lib/cgi-bin/suideperl

[ "$1" = "remove" ] && [ -L $cgi_nph_eperl ] && rm -f $cgi_nph_eperl
[ "$1" = "remove" ] && [ -f $cgi_suid_eperl ] && rm -f $cgi_suid_eperl

#DEBHELPER#

exit 0