Skip to content

Commit

Permalink
changes to package number, added jpackage file
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRoyce committed Aug 18, 2012
1 parent ffe886c commit 2a0ada7
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion com_allicons/allicons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<authorUrl>http://www.tdandt.com</authorUrl>
<copyright>Copyright 2012 - Total Design and Technology</copyright>
<license>This component in released under the GNU/GPL v3 or later license</license>
<version>1.1.0</version>
<version>1.1.1</version>
<description>Manage the administrator quick icons</description>

<scriptfile>installer.php</scriptfile>
Expand Down
3 changes: 3 additions & 0 deletions exclude.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.svn*
*.DS_Store*
exclude.lst
27 changes: 27 additions & 0 deletions jpackage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

function JPackage {
echo -e "\\033[1;34m" Removing all zip files from folder;
rm *.zip;

#house cleaning
rmdir -rf packages;

#zip up the source files
zip -r com_allicons.1.1.1.zip com_allicons -x@exclude.lst;
zip -r mod_allicons.1.0.1.zip mod_allicons -x@exclude.lst;

#make the packages directory
mkdir packages;

#move the files
mv com_allicons.1.1.1.zip packages/com_allicons.1.1.1.zip;
mv mod_allicons.1.0.1.zip packages/mod_allicons.1.0.1.zip;

#make the final pkg file
zip -r pkg_allicons.1.1.1.zip packages pkg_allicons.xml -x@exclude.lst;

echo "zip all icons done";
}

JPackage
2 changes: 1 addition & 1 deletion mod_allicons/mod_allicons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>royce@tdandt.com</authorEmail>
<authorUrl>www.tdandt.com</authorUrl>
<version>1.0.0</version>
<version>1.0.1</version>
<description>MOD_ALLICONS_XML_DESCRIPTION</description>
<scriptfile>installer.php</scriptfile>
<files>
Expand Down

0 comments on commit 2a0ada7

Please sign in to comment.