projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Déplacé Gnumeric et Abiword au stage5.
[hvlinux.git]
/
functions
/
fpkg
diff --git
a/functions/fpkg
b/functions/fpkg
index
8781366
..
dd855d9
100644
(file)
--- a/
functions/fpkg
+++ b/
functions/fpkg
@@
-274,8
+274,12
@@
test_archive_integrity()
TESTCMD="bzip2 -t"
elif is_archive_tar_gzip "${EXT}"; then
TESTCMD="gunzip -t"
TESTCMD="bzip2 -t"
elif is_archive_tar_gzip "${EXT}"; then
TESTCMD="gunzip -t"
+ elif [ "x${EXT}" = "xtar.xz" ]; then
+ TESTCMD="unxz -t"
+ elif [ "x${EXT}" = "xzip" ]; then
+ TESTCMD="unzip -t"
else
else
- # Can only test gzip
and bzip2 archives
+ # Can only test gzip
, bzip2, xz and zip archives.
return 0
fi
return 0
fi
@@
-383,7
+387,7
@@
fpkg()
# Default subdirectory on server
SRC_DIR=$(get_pkg_name ${PACK})
fi
# Default subdirectory on server
SRC_DIR=$(get_pkg_name ${PACK})
fi
- SRC_DIR="${SRC_DIR}/$(get_pkg_ver
_base
${PACK})"
+ SRC_DIR="${SRC_DIR}/$(get_pkg_ver
2
${PACK})"
;;
sf)
URL=${SOURCEFORGE_URL}
;;
sf)
URL=${SOURCEFORGE_URL}