File: code-aster-run.postrm

package info (click to toggle)
astk 1.13.1-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,896 kB
  • sloc: tcl: 24,251; python: 19,546; sh: 279; makefile: 51
file content (18 lines) | stat: -rw-r--r-- 379 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
    # Source debconf library.
    . /usr/share/debconf/confmodule
    # Remove my changes to the db.
    db_purge
    
    # Remove files in /etc/codeaster
    rm -f /etc/codeaster/asrun
    rm -f /etc/codeaster/aster    
    find /etc/codeaster  -type d -empty | xargs -r rmdir

fi

#DEBHELPER#