DEB tdeio-umountwrapper: removed incorrect dolphin folder.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cbd8bb0f06)
pull/92/head
Michele Calgaro 5 years ago
parent 47043651a8
commit 79d52977bb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,3 +1,2 @@
debian/media_safelyremove.desktop /opt/trinity/share/apps/konqueror/servicemenus debian/media_safelyremove.desktop /opt/trinity/share/apps/konqueror/servicemenus
debian/media_safelyremove.desktop /opt/trinity/share/apps/dolphin/servicemenus
debian/media_safelyremove.desktop /opt/trinity/share/apps/d3lphin/servicemenus debian/media_safelyremove.desktop /opt/trinity/share/apps/d3lphin/servicemenus

@ -23,7 +23,6 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert # make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/ mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/ mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in case "$1" in
@ -31,15 +30,11 @@ case "$1" in
dpkg-divert --package $package_name --rename --remove \ dpkg-divert --package $package_name --rename --remove \
/opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop
dpkg-divert --package $package_name --rename --remove \
/opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop
dpkg-divert --package $package_name --rename --remove \ dpkg-divert --package $package_name --rename --remove \
/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop
# try to remove the dirs we've created for pkg-divert # try to remove the dirs we've created for pkg-divert
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/konqueror/servicemenus/ rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/konqueror/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/dolphin/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/ rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/
;; ;;

@ -24,7 +24,6 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert # make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/ mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/ mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in case "$1" in
@ -34,10 +33,6 @@ case "$1" in
if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop
fi fi
divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop"`
if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop
fi
divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop"` divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop"`
if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop
@ -48,10 +43,6 @@ case "$1" in
--divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \ --divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop --rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop
dpkg-divert --package $package_name \ dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop.distrib \ --divert /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop --rename /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop
@ -65,13 +56,6 @@ case "$1" in
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop --rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop
fi fi
divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop"`
if [ -z "$divert" ]; then
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop
fi
divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop"` divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop"`
if [ -z "$divert" ]; then if [ -z "$divert" ]; then
dpkg-divert --package $package_name \ dpkg-divert --package $package_name \

@ -1,3 +1,2 @@
debian/media_safelyremove.desktop /opt/trinity/share/apps/konqueror/servicemenus debian/media_safelyremove.desktop /opt/trinity/share/apps/konqueror/servicemenus
debian/media_safelyremove.desktop /opt/trinity/share/apps/dolphin/servicemenus
debian/media_safelyremove.desktop /opt/trinity/share/apps/d3lphin/servicemenus debian/media_safelyremove.desktop /opt/trinity/share/apps/d3lphin/servicemenus

@ -23,7 +23,6 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert # make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/ mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/ mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in case "$1" in
@ -31,15 +30,11 @@ case "$1" in
dpkg-divert --package $package_name --rename --remove \ dpkg-divert --package $package_name --rename --remove \
/opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop
dpkg-divert --package $package_name --rename --remove \
/opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop
dpkg-divert --package $package_name --rename --remove \ dpkg-divert --package $package_name --rename --remove \
/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop
# try to remove the dirs we've created for pkg-divert # try to remove the dirs we've created for pkg-divert
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/konqueror/servicemenus/ rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/konqueror/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/dolphin/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/ rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/
;; ;;

@ -24,7 +24,6 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert # make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/ mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/ mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in case "$1" in
@ -34,10 +33,6 @@ case "$1" in
if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop
fi fi
divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop"`
if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop
fi
divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop"` divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop"`
if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then if [ -n "$divert" ] && [ "$divert" = "kio-umountwrapper-trinity" ]; then
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop
@ -48,10 +43,6 @@ case "$1" in
--divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \ --divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop --rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop
dpkg-divert --package $package_name \ dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop.distrib \ --divert /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop --rename /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop
@ -65,13 +56,6 @@ case "$1" in
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop --rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop
fi fi
divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop"`
if [ -z "$divert" ]; then
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop
fi
divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop"` divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop"`
if [ -z "$divert" ]; then if [ -z "$divert" ]; then
dpkg-divert --package $package_name \ dpkg-divert --package $package_name \

Loading…
Cancel
Save