aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-09 19:00:57 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-09 19:00:57 +0000
commit3dba3dde02862694a44d98926a1e5f70d14484d5 (patch)
tree467c78adb02ba4e92f926353735f1260e851b0e3 /src
parent66b87a88dcbcf0a2a93e81bcb0ad035fd26bab14 (diff)
downloadsimplepkg-3dba3dde02862694a44d98926a1e5f70d14484d5.tar.gz
simplepkg-3dba3dde02862694a44d98926a1e5f70d14484d5.tar.bz2
CHANGELOG update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@58 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src')
-rwxr-xr-xsrc/simplaret10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/simplaret b/src/simplaret
index cfd02f5..2a5498d 100755
--- a/src/simplaret
+++ b/src/simplaret
@@ -405,13 +405,17 @@ function simplaret_get {
function simplaret_get_patches {
- # TODO: new format
- # use /etc/simplepkg/jailist
-
if [ ! -d "$PATCHES_DIR/$ARCH/$VERSION" ]; then
mkdir -p $PATCHES_DIR/$ARCH/$VERSION
fi
+ # TODO: new format
+ # primeiro checa por atualizacoes na instalacao principal
+ # - depois olha a lista de jaulas por /etc/simplepkg/jailist
+ # - pega a arquitetura e a versao da jaula
+ # - verifica os patches disponiveis para aquela arquitetura e versao
+ # - caso haja na jaula um pacote instalado cujo patch estah disponivel, baixa-o
+
echo fetching patches for arch $ARCH and version $VERSION...
# check for downloaded patches