~ubuntu-branches/ubuntu/vivid/projectcenter.app/vivid

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Bazaar Package Importer
  • Author(s): Yavor Doganov
  • Date: 2010-06-15 14:21:38 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100615142138-axhxdedczshsjrud
Tags: 0.5.3~20100601-2
debian/preinst: Explicitly delete Resources from the app bundle to
make the new FHS_ME_HARDER implementation actually work for upgrades;
otherwise they break badly since Resources remains a dangling symlink
at the time dpkg replaces moved files (Closes: #585978).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
if [ "$1" = "upgrade" ] || [ "$1" = "install" ]; then
5
5
  rm -rf /usr/share/GNUstep/ProjectCenter.app
 
6
  rm -rf /usr/lib/GNUstep/Applications/ProjectCenter.app/Resources
6
7
fi
7
8
 
8
9
#DEBHELPER#