From: Robert Kaiser Date: Sun, 20 Feb 2011 00:31:02 +0000 (+0100) Subject: adapt maketheme script for new packaged XPI format, bump theme versions to 2.1b2 X-Git-Tag: LCARStrek-2.1b2 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=519da6f8ba9e38fdb70dd3934b7f5e40137c1212;p=themes.git adapt maketheme script for new packaged XPI format, bump theme versions to 2.1b2 --- diff --git a/EarlyBlue/install.rdf b/EarlyBlue/install.rdf index 48610be3..03194b45 100644 --- a/EarlyBlue/install.rdf +++ b/EarlyBlue/install.rdf @@ -5,7 +5,7 @@ EarlyBlue@kairo.at - 2.1b2pre + 2.1b2 diff --git a/LCARStrek/install.rdf b/LCARStrek/install.rdf index 33403eab..68b24b53 100644 --- a/LCARStrek/install.rdf +++ b/LCARStrek/install.rdf @@ -5,7 +5,7 @@ LCARStrek@kairo.at - 2.1b2pre + 2.1b2 diff --git a/maketheme b/maketheme index 50cd459e..4983976d 100755 --- a/maketheme +++ b/maketheme @@ -32,22 +32,12 @@ if [ -e $WORK_DIR ] ; then fi mkdir -p $WORK_DIR/chrome -echo copying basic files.... -cp $THEME_DIR/install.rdf $THEME_DIR/icon.png $THEME_DIR/preview.png $WORK_DIR/ - -echo packing internal jar file... -cd $THEME_DIR -SUBDIRS= -for filename in *; do - if [ -d "$filename" ]; then - SUBDIRS="$SUBDIRS $filename" - fi -done -zip -rX0Dq $WORK_DIR/chrome/$THEME_NAME.jar $SUBDIRS +echo copying theme files... +cp -a $THEME_DIR/* $WORK_DIR/ cd $WORK_DIR -echo adjusting manifest... -sed -e "s/skin \w* $THEME_NAME /\0jar:chrome\/$THEME_NAME.jar\!\//" $THEME_DIR/chrome.manifest > chrome.manifest +echo removing x-* file not intended for shipping... +rm -rf x-* echo creating new xpi file... if [ -e $XPI_FILE ] ; then