debian: remove obsolete code from postinst script

NetworkManager-dispatcher.service issue seems to be already fixed in
upstream package.
This commit is contained in:
Marek Marczykowski-Górecki 2014-12-02 23:09:07 +01:00
parent 45e7cbb2ac
commit c3ef00303f

View File

@ -233,11 +233,6 @@ case "${1}" in
echo '[keyfile]' >> /etc/NetworkManager/NetworkManager.conf echo '[keyfile]' >> /etc/NetworkManager/NetworkManager.conf
fi fi
# XXX: Test to see if this will satisify dispatcher dependancy
if [ ! -e "/lib/systemd/system/org.freedesktop.nm_dispatcher.service" ]; then
ln -s org.freedesktop.nm_dispatcher.service NetworkManager-dispatcher.service
fi
# Remove old firmware updates link # Remove old firmware updates link
if [ -L /lib/firmware/updates ]; then if [ -L /lib/firmware/updates ]; then
rm -f /lib/firmware/updates rm -f /lib/firmware/updates