summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xqt/control/qpf-cyberbit-120-50-t10.postinst2
-rwxr-xr-xqt/control/qpf-fixed.postinst2
-rwxr-xr-xqt/control/qpf-helvetica.postinst2
-rwxr-xr-xqt/control/qpf-micro.postinst2
-rwxr-xr-xqt/control/qpf-smallsmooth.postinst2
-rwxr-xr-xqt/control/qpf-smoothtimes.postinst2
-rw-r--r--qt/qte234-for-opie091-fontdir.patch2
7 files changed, 13 insertions, 1 deletions
diff --git a/qt/control/qpf-cyberbit-120-50-t10.postinst b/qt/control/qpf-cyberbit-120-50-t10.postinst
index 30336ce..9671d9a 100755
--- a/qt/control/qpf-cyberbit-120-50-t10.postinst
+++ b/qt/control/qpf-cyberbit-120-50-t10.postinst
@@ -3,7 +3,9 @@
set -e
if [ "$1" != "configure" ]; then
exit 0
fi
+. /etc/profile
+
update-qtfontdir
diff --git a/qt/control/qpf-fixed.postinst b/qt/control/qpf-fixed.postinst
index 30336ce..9671d9a 100755
--- a/qt/control/qpf-fixed.postinst
+++ b/qt/control/qpf-fixed.postinst
@@ -3,7 +3,9 @@
set -e
if [ "$1" != "configure" ]; then
exit 0
fi
+. /etc/profile
+
update-qtfontdir
diff --git a/qt/control/qpf-helvetica.postinst b/qt/control/qpf-helvetica.postinst
index 30336ce..9671d9a 100755
--- a/qt/control/qpf-helvetica.postinst
+++ b/qt/control/qpf-helvetica.postinst
@@ -3,7 +3,9 @@
set -e
if [ "$1" != "configure" ]; then
exit 0
fi
+. /etc/profile
+
update-qtfontdir
diff --git a/qt/control/qpf-micro.postinst b/qt/control/qpf-micro.postinst
index 30336ce..9671d9a 100755
--- a/qt/control/qpf-micro.postinst
+++ b/qt/control/qpf-micro.postinst
@@ -3,7 +3,9 @@
set -e
if [ "$1" != "configure" ]; then
exit 0
fi
+. /etc/profile
+
update-qtfontdir
diff --git a/qt/control/qpf-smallsmooth.postinst b/qt/control/qpf-smallsmooth.postinst
index 30336ce..9671d9a 100755
--- a/qt/control/qpf-smallsmooth.postinst
+++ b/qt/control/qpf-smallsmooth.postinst
@@ -3,7 +3,9 @@
set -e
if [ "$1" != "configure" ]; then
exit 0
fi
+. /etc/profile
+
update-qtfontdir
diff --git a/qt/control/qpf-smoothtimes.postinst b/qt/control/qpf-smoothtimes.postinst
index 30336ce..9671d9a 100755
--- a/qt/control/qpf-smoothtimes.postinst
+++ b/qt/control/qpf-smoothtimes.postinst
@@ -3,7 +3,9 @@
set -e
if [ "$1" != "configure" ]; then
exit 0
fi
+. /etc/profile
+
update-qtfontdir
diff --git a/qt/qte234-for-opie091-fontdir.patch b/qt/qte234-for-opie091-fontdir.patch
index a765d44..3b3daf4 100644
--- a/qt/qte234-for-opie091-fontdir.patch
+++ b/qt/qte234-for-opie091-fontdir.patch
@@ -34,13 +34,13 @@
+}
+
+if [ -z "$1" ]; then
+ if [ -n "$QTDIR" ]; then
+ fontdir=$QTDIR/lib/fonts
+ else
-+ usage
++ fontdir=/opt/QtPalmtop/lib/fonts
+ fi
+else
+ fontdir=$1
+fi
+
+if ! [ -d $fontdir ]; then