|
|
@ -8,12 +8,20 @@ case "$1" in
|
|
|
|
# Remove old-style Plasma diversions
|
|
|
|
# Remove old-style Plasma diversions
|
|
|
|
divert=`dpkg-divert --listpackage "/usr/bin/plasma"`
|
|
|
|
divert=`dpkg-divert --listpackage "/usr/bin/plasma"`
|
|
|
|
if [ -n "$divert" ]; then
|
|
|
|
if [ -n "$divert" ]; then
|
|
|
|
|
|
|
|
if [ "$divert" = "LOCAL" ]; then
|
|
|
|
|
|
|
|
dpkg-divert --local --rename --remove /usr/bin/plasma
|
|
|
|
|
|
|
|
else
|
|
|
|
dpkg-divert --package $package_name --rename --remove /usr/bin/plasma
|
|
|
|
dpkg-divert --package $package_name --rename --remove /usr/bin/plasma
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
divert=`dpkg-divert --listpackage "/usr/bin/plasma-desktop"`
|
|
|
|
divert=`dpkg-divert --listpackage "/usr/bin/plasma-desktop"`
|
|
|
|
if [ -n "$divert" ]; then
|
|
|
|
if [ -n "$divert" ]; then
|
|
|
|
|
|
|
|
if [ "$divert" = "LOCAL" ]; then
|
|
|
|
|
|
|
|
dpkg-divert --local --rename --remove /usr/bin/plasma-desktop
|
|
|
|
|
|
|
|
else
|
|
|
|
dpkg-divert --package $package_name --rename --remove /usr/bin/plasma-desktop
|
|
|
|
dpkg-divert --package $package_name --rename --remove /usr/bin/plasma-desktop
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
mkdir -p /usr/share/autostart
|
|
|
|
mkdir -p /usr/share/autostart
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|