]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
added utils/versions.sh
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 12 Aug 2007 17:51:32 +0000 (17:51 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 12 Aug 2007 17:51:32 +0000 (17:51 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@413 04377dda-e619-0410-9926-eae83683ac58

trunk/utils/versions.sh [new file with mode: 0755]

diff --git a/trunk/utils/versions.sh b/trunk/utils/versions.sh
new file mode 100755 (executable)
index 0000000..1d7bc92
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/bash
+# (ir)responsavel: rafael (at) riseup (dot) net
+
+echo "<html>"
+echo "<head>"
+echo "<title>"
+echo "Vers&otilde;es dos SlackBuilds"
+echo "</title>"
+echo "</head>"
+echo "<body>"
+echo "<br><br>"
+echo "Aten&ccedil;&atilde;o:<br><br>"
+echo "Quando o software possui algum n&uacute;mero de vers&atilde;o, isso "
+echo "significa que essa vers&atilde;o &eacute; a vers&atilde;o hardcoded "
+echo "do SlackBuild. Vamos mant&ecirc;-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>"
+
+