Skip to content

Commit

Permalink
Remove leftover files from previous installs (bug 1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
thp committed Jul 27, 2012
1 parent 07dc226 commit caa5ba6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions debian/postinst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@


SYMLINKS=/opt/gpodder/optification.symlinks SYMLINKS=/opt/gpodder/optification.symlinks


# Clean up old leftover stuff from previous installs (gPodder bug 1672)
DIST_PACKAGES=/usr/lib/python2.6/dist-packages
echo "Checking for leftover files in $DIST_PACKAGES"
for directory in gpodder mygpoclient; do
directory=$DIST_PACKAGES/$directory
if [ -e $directory ]; then
echo " Removing $directory"
rm -rf $directory
fi
done

rm -f $SYMLINKS rm -f $SYMLINKS


link_to() { link_to() {
Expand Down

0 comments on commit caa5ba6

Please sign in to comment.