From 2b7ee2f7df2f79bc016dd8185e314a3f5df1b07e Mon Sep 17 00:00:00 2001 From: kergoth Date: Wed, 23 Apr 2003 05:37:14 +0000 Subject: Update fontdir tool to default to /opt/QtPalmtop, and update postinsts on the font packages to source /etc/profile prior to attempting to execute update-qtfontdir, which isnt necessarily in the path at the time of execution. --- (limited to 'qt') 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 @@ -6,4 +6,6 @@ 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 @@ -6,4 +6,6 @@ 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 @@ -6,4 +6,6 @@ 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 @@ -6,4 +6,6 @@ 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 @@ -6,4 +6,6 @@ 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 @@ -6,4 +6,6 @@ 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 @@ -37,7 +37,7 @@ + if [ -n "$QTDIR" ]; then + fontdir=$QTDIR/lib/fonts + else -+ usage ++ fontdir=/opt/QtPalmtop/lib/fonts + fi +else + fontdir=$1 -- cgit v0.9.0.2