summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorKalman Szalai - KAMI <kami911@gmail.com>2011-05-08 10:25:25 +0200
committerKalman Szalai - KAMI <kami911@gmail.com>2011-05-08 10:25:25 +0200
commit68b8377eabc1dc94030851f261c05c9547378ca7 (patch)
tree63c565fd51e5bf4d380b669323056a87fe591578 /download
parentb53a86a5676d5bcb88ed6e3ac524a3560e713c22 (diff)
Fix Ligthproof extension integration
* Fix configure and download support * Extension naming scheme is: <md5>-<extension-name>_<version>.oxt - Renamed extensions * Rename extension version number in download script and scp2 module
Diffstat (limited to 'download')
-rwxr-xr-xdownload4
1 files changed, 2 insertions, 2 deletions
diff --git a/download b/download
index 468cf61e4722..b7ef885c1fd9 100755
--- a/download
+++ b/download
@@ -264,9 +264,9 @@ done
# Extensions copy
echo "Copy extensions to their location ..."
-for pack in $BARCODE_EXTENSION_PACK $DIAGRAM_EXTENSION_PACK $VALIDATOR_EXTENSION_PACK $WATCH_WINDOW_EXTENSION_PACK $NUMBERTEXT_EXTENSION_PACK $HUNART_EXTENSION_PACK $TYPO_EXTENSION_PACK $GOOGLE_DOCS_EXTENSION_PACK ; do
+for pack in $BARCODE_EXTENSION_PACK $DIAGRAM_EXTENSION_PACK $VALIDATOR_EXTENSION_PACK $WATCH_WINDOW_EXTENSION_PACK $NUMBERTEXT_EXTENSION_PACK $HUNART_EXTENSION_PACK $TYPO_EXTENSION_PACK $GOOGLE_DOCS_EXTENSION_PACK $LIGHTPROOF_HU_PACK $LIGHTPROOF_EN_US_PACK; do
check_file $TARFILE_LOCATION/$pack
- packfilename=`echo "$pack" | cut --only-delimited --delimiter=- --fields=2 | cut --delimiter=_ --fields=1`
+ packfilename=`echo "$pack" | cut --only-delimited --delimiter=- --fields=2- | cut --delimiter=_ --fields=1`
echo "Copy extension: '$pack' as '$packfilename.oxt' ..."
mkdir -p $SRC_ROOT/extras/source/extensions/ || exit 1
cp $TARFILE_LOCATION/$pack $SRC_ROOT/extras/source/extensions/$packfilename.oxt || exit 1