fpdb/packaging/debian/python-fpdb.postinst
Mika Bostrom ae0612370d Packaging fixes
* It seems that fpdb gets installed into /usr/share/python-support/
  while many other packages end up in .../pyshared; fixed the symlink
  target
* Fixed mail address in changelog, which now is the correct one
* Added postinst script to make fpdb.py executable again. This hack
  is needed because dh_fixperms didn't allow to ignore the script's
  permissions and the file is located in .../fpdb/ along with all the
  other fpdb modules
* Told package manager to create /usr/bin/fpdb symlink pointing to
  fpdb.py so we now have an application named "fpdb" in the system
2009-08-22 22:47:27 +03:00

6 lines
154 B
Bash

#!/bin/sh
# When installed into .../fpdb/ the script gets mode 644
# Note: "dh_fixperms -Xfpdb.py" did not work, hence this hack
chmod 755 /usr/bin/fpdb