diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-12-02 14:53:41 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-12-02 14:53:41 +0000 |
commit | 4df5323457b3bcae434e543e65410676be1fd5fc (patch) | |
tree | 73b5d8308bedc603ebcd7485d7a07624ea5f0f0b /trunk/utils/slackbuild-versions | |
parent | 12305fd6dc9e69252f904cc39b7bdd8b7719f9e2 (diff) | |
download | simplepkg-4df5323457b3bcae434e543e65410676be1fd5fc.tar.gz simplepkg-4df5323457b3bcae434e543e65410676be1fd5fc.tar.bz2 |
utils: renamed versions.sh to slackbuild-versions
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@624 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/utils/slackbuild-versions')
-rwxr-xr-x | trunk/utils/slackbuild-versions | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/trunk/utils/slackbuild-versions b/trunk/utils/slackbuild-versions new file mode 100755 index 0000000..1d7bc92 --- /dev/null +++ b/trunk/utils/slackbuild-versions @@ -0,0 +1,30 @@ +#!/bin/bash +# (ir)responsavel: rafael (at) riseup (dot) net + +echo "<html>" +echo "<head>" +echo "<title>" +echo "Versões dos SlackBuilds" +echo "</title>" +echo "</head>" +echo "<body>" +echo "<br><br>" +echo "Atenção:<br><br>" +echo "Quando o software possui algum número de versão, isso " +echo "significa que essa versão é a versão hardcoded " +echo "do SlackBuild. Vamos mantê-las atualizadas ;) " +echo "<br><br>" + +rm .versions.temp + +for i in $(createpkg -l| grep SlackBuild| cut -d " " -f 7- | cut -d . -f 1); do echo $i >> .versions.temp; done + +for i in $(sort .versions.temp); do echo $i; echo "<br>"; for u in $(createpkg --search $i); do grep "VERSION=" $u; echo "<br><br>"; done; done + +rm .versions.temp + +echo "<br><br>SlackBuilds feitos pelo Projeto <a href=\"http://slack.sarava.org/\">slack.sarava.org</a><br>" +echo "</body>" +echo "</html>" + + |