File: postrm-fortran-mod

package info (click to toggle)
dh-fortran 0.68
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 960 kB
  • sloc: f90: 5,708; python: 1,990; makefile: 119; perl: 112; sh: 7
file content (10 lines) | stat: -rw-r--r-- 354 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
# Cleanup experimentall cruft
multiarch="#MULTIARCH#"
base="#FCOMPILERMOD#"

if test -d /usr/lib/$multiarch/fortran/$base ; then
  ( cd /usr/lib/$multiarch && rmdir --ignore-fail-on-non-empty --parents fortran/$base )
fi

# Delete cruft  directory when empty
( rmdir --ignore-fail-on-non-empty /usr/lib/$multiarch/fortran/gfortran 2> /dev/null || true )