
# modules-configured
#
# Clean up after modules have been configured on 1st boot

description "clear-acroread"
author      "Michael Terry <michael.terry@canonical.com>"

start on starting gdm

script

# acroread copies its .desktop file here, but we have our own
# So make sure user sees correct copies of the .desktop in alacarte
# by deleting this one.
# * can't divert it because it isn't actually owned by acroread
# * can't just install to /usr/local because acroread is installed
#   after ume-config-harbour
rm -f /usr/local/share/applications/AdobeReader.desktop

# Also make sure that AdobeReader is default pdf viewer
sed -i 's/evince.desktop;//g' /usr/local/share/applications/defaults.list

end script

