[subversion-commit] SVN tex-common commit + diffs: r1363 - in
tex-common/trunk: debian doc
Frank Küster
frank at costa.debian.org
Tue May 16 18:32:57 UTC 2006
Author: frank
Date: 2006-05-16 18:32:56 +0000 (Tue, 16 May 2006)
New Revision: 1363
Modified:
tex-common/trunk/debian/config.in
tex-common/trunk/debian/postinst.functions
tex-common/trunk/doc/Debian-TeX-Policy.pdf
Log:
- postfix all db_* invocations (except db_version) with || true
- update policy.pdf
Modified: tex-common/trunk/debian/config.in
===================================================================
--- tex-common/trunk/debian/config.in 2006-05-16 18:32:07 UTC (rev 1362)
+++ tex-common/trunk/debian/config.in 2006-05-16 18:32:56 UTC (rev 1363)
@@ -47,7 +47,7 @@
db_fset tex-common/groupname_single seen true || true
db_fset tex-common/groupname_multi seen true || true
fi
-db_unregister tex-common/groupname
+db_unregister tex-common/groupname || true
# this script may be run twice: Once by dpkg-preconfigure, once again by
@@ -57,7 +57,7 @@
if [ "$RET" != "true" ]; then
# we are in the first pass, set the flag and do the things
- db_fset tex-common/managecache firstrundone true
+ db_fset tex-common/managecache firstrundone true || true
# check wether the directory /var/cache/fonts is group writeable and
# for which group
@@ -110,7 +110,7 @@
fi
done
if [ $usercount -eq 1 ]; then
- db_set tex-common/singleuser true
+ db_set tex-common/singleuser true || true
# exactly one user account, number in $userid: suggest its group
groupID=`getent passwd | egrep "^[^:]+:[^:]+:$userid:" | cut -d ':' -f 4`
GROUP=`getent group | egrep "^[^:]+:[^:]+:$groupID:" | cut -d ':' -f 1`
@@ -119,7 +119,7 @@
cache_debconf_priority=medium
db_input $cache_debconf_priority tex-common/managecache || true
- db_go
+ db_go || true
db_get tex-common/managecache || true
if [ "$RET" = true ]; then
@@ -145,7 +145,7 @@
# still there? invalid group
db_subst tex-common/invalid_groupname badgroup $GROUP || true
db_input $cache_debconf_priority tex-common/invalid_groupname || true
- db_go
+ db_go || true
done
fi
fi
Modified: tex-common/trunk/debian/postinst.functions
===================================================================
--- tex-common/trunk/debian/postinst.functions 2006-05-16 18:32:07 UTC (rev 1362)
+++ tex-common/trunk/debian/postinst.functions 2006-05-16 18:32:56 UTC (rev 1363)
@@ -33,8 +33,8 @@
line=`egrep "^$variable" $file` || true
if [ -z "$line" ]; then
variable=${variable%$removepattern}
- db_subst tex-common/check_texmf_missing filename $file
- db_subst tex-common/check_texmf_missing variable $variable
+ db_subst tex-common/check_texmf_missing filename $file || true
+ db_subst tex-common/check_texmf_missing variable $variable || true
db_fset tex-common/check_texmf_missing seen false || true
db_input critical tex-common/check_texmf_missing || true
db_go || true
@@ -43,9 +43,9 @@
else
if ! echo "$line" | egrep -q "$pattern"; then
variable=${variable%$removepattern}
- db_subst tex-common/check_texmf_wrong filename $file
- db_subst tex-common/check_texmf_wrong variable $variable
- db_subst tex-common/check_texmf_wrong pattern $pattern
+ db_subst tex-common/check_texmf_wrong filename $file || true
+ db_subst tex-common/check_texmf_wrong variable $variable || true
+ db_subst tex-common/check_texmf_wrong pattern $pattern || true
db_fset tex-common/check_texmf_wrong seen false || true
db_input critical tex-common/check_texmf_wrong || true
db_go || true
@@ -57,9 +57,9 @@
# font packages follow TDS 1.1
if ! echo "$line" | grep -q '/dvips//'; then
variable=${variable%$removepattern}
- db_subst tex-common/check_texmf_wrong filename $file
- db_subst tex-common/check_texmf_wrong variable $variable
- db_subst tex-common/check_texmf_wrong pattern "/dvips//"
+ db_subst tex-common/check_texmf_wrong filename $file || true
+ db_subst tex-common/check_texmf_wrong variable $variable || true
+ db_subst tex-common/check_texmf_wrong pattern "/dvips//" || true
db_fset tex-common/check_texmf_wrong seen false || true
db_input critical tex-common/check_texmf_wrong || true
echo "Error in $file: $variable incorrectly defined." >&2
Modified: tex-common/trunk/doc/Debian-TeX-Policy.pdf
===================================================================
(Binary files differ)
More information about the Pkg-tetex-commits
mailing list