aboutsummaryrefslogtreecommitdiff
path: root/trunk/utils/versions.sh
blob: 1d7bc927937b7a61877dde8b19e58d6405e54b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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>"