am 71c9f075: Clean up handling of apks
* commit '71c9f075dafa7c5fc16d94a6992b101867b9b694':
Clean up handling of apks
diff --git a/self-extractors/generate-packages.sh b/self-extractors/generate-packages.sh
index 53c6b50..cd9e749 100755
--- a/self-extractors/generate-packages.sh
+++ b/self-extractors/generate-packages.sh
@@ -57,14 +57,6 @@
then
chmod a+x $FILEDIR/$(basename $ONE_FILE) || echo \ \ \ \ Error chmoding $ONE_FILE
fi
- if test $(echo $ONE_FILE | grep \\.apk\$ | wc -l) = 1
- then
- echo \ \ \ \ Splitting $ONE_FILE
- mkdir -p $FILEDIR/$(basename $ONE_FILE).parts || echo \ \ \ \ Error making parts dir for $ONE_FILE
- unzip $FILEDIR/$(basename $ONE_FILE) -d $FILEDIR/$(basename $ONE_FILE).parts > /dev/null || echo \ \ \ \ Error unzipping $ONE_FILE
- rm $FILEDIR/$(basename $ONE_FILE) || echo \ \ \ \ Error removing original $ONE_FILE
- rm -rf $FILEDIR/$(basename $ONE_FILE).parts/META-INF || echo \ \ \ \ Error removing META-INF for $ONE_FILE
- fi
done
echo \ \ Setting up $COMPANY-specific makefiles
cp -R $COMPANY/staging/* tmp/vendor/$COMPANY/$DEVICE || echo \ \ \ \ Error copying makefiles