[Fai-commit] r3083 - in trunk: bin debian
fai-repository at svn.debian.org
fai-repository at svn.debian.org
Wed Nov 23 12:26:33 UTC 2005
Author: lange
Date: 2005-11-23 12:26:32 +0000 (Wed, 23 Nov 2005)
New Revision: 3083
Modified:
trunk/bin/ftar
trunk/debian/changelog
Log:
test if $single is set (closes: #340421)
Modified: trunk/bin/ftar
===================================================================
--- trunk/bin/ftar 2005-11-23 11:59:38 UTC (rev 3082)
+++ trunk/bin/ftar 2005-11-23 12:26:32 UTC (rev 3083)
@@ -6,7 +6,7 @@
# ftar -- extract tar files using FAI classes
#
# This script is part of FAI (Fully Automatic Installation)
-# Copyright (C) 2001-2003 Thomas Lange, lange at informatik.uni-koeln.de
+# Copyright (C) 2001-2005 Thomas Lange, lange at informatik.uni-koeln.de
# Universitaet zu Koeln
#
#*********************************************************************
@@ -27,7 +27,7 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#*********************************************************************
-version="Version 1.5.3, 24-dec-2004"
+version="Version 1.5.4, 23-nov-2005"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
die() {
@@ -44,7 +44,7 @@
$catname $file | tar -C $target/$dir $vflag -xf -
tardone=1
# if option -1 is set, only one class will be used
- $single && exit 0
+ [ $single -eq 1 ] && exit 0
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
usage() {
@@ -52,7 +52,7 @@
cat <<EOF
ftar, extract tar files using classes. $version
- Copyright (C) 2001-2003 by Thomas Lange
+ Copyright (C) 2001-2005 by Thomas Lange
Usage: ftar [OPTION] ... SOURCE
@@ -77,6 +77,7 @@
deletefiles=0
removedir=0
tardone=0
+single=0
while getopts 1hDdrvs:t:c: opt ; do
case "$opt" in
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-11-23 11:59:38 UTC (rev 3082)
+++ trunk/debian/changelog 2005-11-23 12:26:32 UTC (rev 3083)
@@ -30,6 +30,7 @@
(closes: #314551), add option -I (closes: #337271)
* FAIBASE/10-misc: with the new fai-kernels package we can call tune2fs
even when using a 2.6 kernel (closes: #307147)
+ * ftar: test if $single is set (closes: #340421)
-- Thomas Lange <lange at debian.org> Wed, 23 Nov 2005 12:58:56 +0100
More information about the Fai-commit
mailing list