File: postinst

package info (click to toggle)
straw 0.27-0.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,972 kB
  • ctags: 2,318
  • sloc: python: 13,450; ansic: 107; makefile: 21
file content (14 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
# postinst script for straw

# Remove the old compiled Python code. It's now in /usr/lib.
if [ -d /usr/share/straw/straw ] ; then
    rm -f /usr/share/straw/straw/*.py[co]
    rmdir /usr/share/straw/straw
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#

exit 0