summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-06-26 16:56:13 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-06-26 16:56:13 +0000
commit277bf9e13f840411cf5aa402f012e7c7e5e9714d (patch)
treeb6d3c0a5ae32fdec0ecb9108a08433803d74aff9 /app-admin/gentoolkit
parentmasked non working libdv and vnc (diff)
downloadhistorical-277bf9e13f840411cf5aa402f012e7c7e5e9714d.tar.gz
historical-277bf9e13f840411cf5aa402f012e7c7e5e9714d.tar.bz2
historical-277bf9e13f840411cf5aa402f012e7c7e5e9714d.zip
now asks about binary files (annoying but necessary)
Diffstat (limited to 'app-admin/gentoolkit')
-rw-r--r--app-admin/gentoolkit/files/etc-update/etc-update10
1 files changed, 5 insertions, 5 deletions
diff --git a/app-admin/gentoolkit/files/etc-update/etc-update b/app-admin/gentoolkit/files/etc-update/etc-update
index 06b39bae7a90..dfc3c8f1e0ae 100644
--- a/app-admin/gentoolkit/files/etc-update/etc-update
+++ b/app-admin/gentoolkit/files/etc-update/etc-update
@@ -8,7 +8,7 @@
# Leo Lipelis <aeoo@gentoo.org>
# Karl Trygve Kalleberg <karltk@gentoo.org>
#
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/etc-update/etc-update,v 1.6 2002/06/26 06:32:26 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/etc-update/etc-update,v 1.7 2002/06/26 16:56:13 lostlogic Exp $
function get_config() {
item=$1
@@ -36,8 +36,8 @@ function scan() {
rpath=`echo "${file}" | sed -e "s:/[^/]*$::"`
rfile=`echo "${file}" | sed -e "s:^.*/::"`
if [[ "${ofile:10}" != "${rfile:10}" ]] || [[ ${opath} != ${rpath} ]]; then
- if [[ -z `diff -Nu ${rpath}/${rfile} ${rpath}/${rfile:10}|
- grep "^[+-][^+-]"|grep -v '# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/etc-update/etc-update,v 1.6 2002/06/26 06:32:26 lostlogic Exp $'` ]]; then
+ if [[ -z `diff -Nua ${rpath}/${rfile} ${rpath}/${rfile:10}|
+ grep "^[+-][^+-]"|grep -v '# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/etc-update/etc-update,v 1.7 2002/06/26 16:56:13 lostlogic Exp $'` ]]; then
mv ${rpath}/${rfile} ${rpath}/${rfile:10}
continue
else
@@ -49,8 +49,8 @@ function scan() {
continue
fi
fi
- if [[ -z `diff -Nu ${rpath}/${rfile} ${rpath}/${ofile}|
- grep "^[+-][^+-]"|grep -v '# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/etc-update/etc-update,v 1.6 2002/06/26 06:32:26 lostlogic Exp $'` ]]; then
+ if [[ -z `diff -Nua ${rpath}/${rfile} ${rpath}/${ofile}|
+ grep "^[+-][^+-]"|grep -v '# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/etc-update/etc-update,v 1.7 2002/06/26 16:56:13 lostlogic Exp $'` ]]; then
mv ${rpath}/${rfile} ${rpath}/${ofile}
continue
else