Revision | 4091ebf326afd9c6692382161f57bc668340edca (tree) |
---|---|
Time | 2012-02-25 22:52:48 |
Author | matsuand <matsuand@user...> |
Commiter | matsuand |
Modified BLFS/install-sshd.sh.
@@ -1,11 +1,5 @@ | ||
1 | 1 | #!/bin/sh |
2 | 2 | |
3 | -#---------------------------------------- | |
4 | -# $Author: matsuyama $ | |
5 | -# $Rev: 498 $ | |
6 | -# $Date:: 2012-02-19 21:46:42 +0900#$ | |
7 | -#---------------------------------------- | |
8 | - | |
9 | 3 | . ./_blfsset.sh |
10 | 4 | |
11 | 5 | TARGET=blfs-bootscripts-$BOOTSCRIPTDATE |
@@ -15,9 +9,15 @@ SCRIPT=install-sshd | ||
15 | 9 | |
16 | 10 | cd $SRC |
17 | 11 | |
12 | +echo \ \ Removing old directory... | |
18 | 13 | rm -fr $TARGETDIR |
19 | 14 | |
20 | -tar xf $DLD/$TARGETBALL | |
15 | +echo \ \ Extracting... | |
16 | +if ! test -f $DLD/$TARGETBALL; then | |
17 | + echo \ \ Tarball not found: $TARGETBALL && exit 1 | |
18 | +else | |
19 | + tar xf $DLD/$TARGETBALL | |
20 | +fi | |
21 | 21 | |
22 | 22 | cd $TARGETDIR |
23 | 23 |