File: rmfhs

package info (click to toggle)
gnats 3.113-13
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,640 kB
  • ctags: 2,917
  • sloc: ansic: 25,624; tcl: 8,071; sh: 5,362; perl: 3,619; makefile: 3,164; yacc: 820; lisp: 742; sql: 280; sed: 181
file content (14 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

set -e

#########################
#
# The FHS movement hack
#

if [ "$1" = upgrade ] || [ "$1" = remove ]; then
  if [ -L /usr/doc/$PACKAGE ]; then
    rm -f /usr/doc/$PACKAGE
  fi
fi