修订版 | 2929d5f60d27a4116e8fb495df452b9582be1ea8 (tree) |
---|---|
时间 | 2012-02-26 19:55:06 |
作者 | matsuand <matsuand@user...> |
Commiter | matsuand |
Added, modified some.
@@ -32,8 +32,6 @@ paco -p $TARGET 'make install && | ||
32 | 32 | find doc -name "Makefile*" -exec rm {} \;' \ |
33 | 33 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
34 | 34 | |
35 | -echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
36 | - | |
37 | 35 | install -v -m755 -d \ |
38 | 36 | /usr/share/doc/libidn-$VER/{api,java,specifications,tld} |
39 | 37 |
@@ -24,7 +24,11 @@ echo \ \ Removing old directory... | ||
24 | 24 | rm -fr $TARGETDIR |
25 | 25 | |
26 | 26 | echo \ \ Extracting... |
27 | -tar xf $DLD/$TARGETBALL || (echo Tarball not found && exit 1) | |
27 | +if ! test -f $DLD/$TARGETBALL; then | |
28 | + echo \ \ Tarball not found: $TARGETBALL && exit 1 | |
29 | +else | |
30 | + tar xf $DLD/$TARGETBALL | |
31 | +fi | |
28 | 32 | |
29 | 33 | cd $TARGETDIR |
30 | 34 |
@@ -42,8 +46,8 @@ paco -p $TARGET 'make install' \ | ||
42 | 46 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
43 | 47 | |
44 | 48 | paco -p+ $TARGET "\ |
45 | -install-info --info-dir=/usr/share/info /usr/share/info/wget.info \ | |
46 | -" | |
49 | +install-info --info-dir=/usr/share/info /usr/share/info/wget.info" \ | |
50 | + 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
47 | 51 | |
48 | 52 | echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none |
49 | 53 |