Fix upgrade problems from 3.5.13.x to R14

pull/3/head
Timothy Pearson 11 years ago
parent ef7f47c200
commit aa94cd3c57

@ -23,6 +23,7 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
@ -38,6 +39,7 @@ case "$1" in
# 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/dolphin/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/
;;

@ -24,10 +24,17 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
install)
# remove old diversions if present
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop || true
# add new diversions
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop

@ -12,6 +12,7 @@ Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
Replaces: libtqt-perl (<< 4:14.0.0~)
Breaks: libtqt-perl (<< 4:14.0.0~)
Conflicts: libqt-perl
Description: Perl bindings for the TQt library
This module lets you use the TQt library from Perl.
It provides an object-oriented interface and is easy to use.

@ -23,6 +23,7 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
@ -38,6 +39,7 @@ case "$1" in
# 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/dolphin/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/
;;

@ -24,10 +24,17 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
install)
# remove old diversions if present
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop || true
# add new diversions
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop

@ -12,6 +12,7 @@ Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
Replaces: libtqt-perl (<< 4:14.0.0~)
Breaks: libtqt-perl (<< 4:14.0.0~)
Conflicts: libqt-perl
Description: Perl bindings for the TQt library
This module lets you use the TQt library from Perl.
It provides an object-oriented interface and is easy to use.

@ -23,6 +23,7 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
@ -38,6 +39,7 @@ case "$1" in
# 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/dolphin/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/
;;

@ -24,10 +24,17 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
install)
# remove old diversions if present
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop || true
# add new diversions
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop

@ -12,6 +12,7 @@ Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
Replaces: libtqt-perl (<< 4:14.0.0~)
Breaks: libtqt-perl (<< 4:14.0.0~)
Conflicts: libqt-perl
Description: Perl bindings for the TQt library
This module lets you use the TQt library from Perl.
It provides an object-oriented interface and is easy to use.

@ -23,6 +23,7 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
@ -38,6 +39,7 @@ case "$1" in
# 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/dolphin/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/
;;

@ -24,10 +24,17 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
install)
# remove old diversions if present
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop || true
# add new diversions
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop

@ -12,6 +12,7 @@ Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
Replaces: libtqt-perl (<< 4:14.0.0~)
Breaks: libtqt-perl (<< 4:14.0.0~)
Conflicts: libqt-perl
Description: Perl bindings for the TQt library
This module lets you use the TQt library from Perl.
It provides an object-oriented interface and is easy to use.

@ -23,6 +23,7 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
@ -38,6 +39,7 @@ case "$1" in
# 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/dolphin/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/
;;

@ -24,10 +24,17 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
install)
# remove old diversions if present
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop || true
# add new diversions
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop

@ -12,6 +12,7 @@ Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
Replaces: libtqt-perl (<< 4:14.0.0~)
Breaks: libtqt-perl (<< 4:14.0.0~)
Conflicts: libqt-perl
Description: Perl bindings for the TQt library
This module lets you use the TQt library from Perl.
It provides an object-oriented interface and is easy to use.

@ -23,6 +23,7 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
@ -38,6 +39,7 @@ case "$1" in
# 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/dolphin/servicemenus/
rmdir --ignore-fail-on-non-empty /opt/trinity/share/apps/d3lphin/servicemenus/
;;

@ -24,10 +24,17 @@ package_name=tdeio-umountwrapper-trinity
# make sure than the directories exist before running dpkg-divert
mkdir -p /opt/trinity/share/apps/konqueror/servicemenus/
mkdir -p /opt/trinity/share/apps/dolphin/servicemenus/
mkdir -p /opt/trinity/share/apps/d3lphin/servicemenus/
case "$1" in
install)
# remove old diversions if present
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop || true
dpkg-divert --package kio-umountwrapper-trinity --rename --remove /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop || true
# add new diversions
dpkg-divert --package $package_name \
--divert /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop.distrib \
--rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop

@ -12,6 +12,7 @@ Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
Replaces: libtqt-perl (<< 4:14.0.0~)
Breaks: libtqt-perl (<< 4:14.0.0~)
Conflicts: libqt-perl
Description: Perl bindings for the TQt library
This module lets you use the TQt library from Perl.
It provides an object-oriented interface and is easy to use.

Loading…
Cancel
Save