VirtualBox

Changeset 38404 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Aug 10, 2011 2:59:02 PM (13 years ago)
Author:
vboxsync
Message:

deb/rpm: remove installed extension packs on 'purge'

Location:
trunk/src/VBox/Installer/linux
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/debian/postrm

    r34603 r38404  
    3131fi
    3232
     33# remove installed extension packs
     34if [ "$1" = "purge" ]; then
     35  rm -rf /usr/lib/virtualbox/ExtensionPacks/*
     36fi
     37
    3338#DEBHELPER#
    3439
  • trunk/src/VBox/Installer/linux/debian/rules

    r37717 r38404  
    338338            -e 's|%VERPKG%|$(verpkg)|g' \
    339339            debian/changelog.in > debian/changelog
    340         cat debian/preinst.in | sed -e 's|%VER%|$(ver)|g' > debian/preinst
    341         cat debian/prerm.in | sed -e 's|%VER%|$(ver)|g' > debian/prerm
    342         cat debian/postinst.in | \
    343             sed -e 's|%VER%|$(ver)|g' \
     340        sed -e 's|%VER%|$(ver)|g' \
     341            debian/preinst.in > debian/preinst
     342        sed -e 's|%VER%|$(ver)|g' \
     343            debian/prerm.in > debian/prerm
     344        sed -e 's|%VER%|$(ver)|g' \
    344345            -e '/#include installer-utils.sh/ {' \
    345346            -e "r $(vboxroot)/src/VBox/Installer/linux/installer-utils.sh" \
    346347            -e 'd' \
    347348            -e '}' \
    348             > debian/postinst
     349            debian/postinst.in > debian/postinst
    349350        dh_installdebconf
    350351        dh_installchangelogs
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r37997 r38404  
    412412touch --no-create /usr/share/icons/hicolor
    413413gtk-update-icon-cache -q /usr/share/icons/hicolor 2> /dev/null || :
     414rm -rf /usr/lib/virtualbox/ExtensionPacks
    414415
    415416
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette