aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-09 14:27:04 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-09 14:27:04 +0000
commit5ea63f4e2f7661dbf2203730ad496ee803c26dc6 (patch)
treea064c565bd9eda37776accdc1e947bd9a03ad67d /src
parent671209f0925dc946f085abd396065da4389ef202 (diff)
downloadsimplepkg-5ea63f4e2f7661dbf2203730ad496ee803c26dc6.tar.gz
simplepkg-5ea63f4e2f7661dbf2203730ad496ee803c26dc6.tar.bz2
simplaret: another small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@48 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src')
-rwxr-xr-xsrc/simplaret8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/simplaret b/src/simplaret
index 6f9094b..7941657 100755
--- a/src/simplaret
+++ b/src/simplaret
@@ -175,6 +175,10 @@ function simplaret_repository_url {
exit 1
fi
+ if [ "$repos_type" == "root" ]; then
+ repository_url="$repository_url/$DISTRO_FOLDER/$EXTRA_FOLDER"
+ fi
+
}
function simplaret_set_storage_folder {
@@ -186,10 +190,6 @@ function simplaret_set_storage_folder {
storage="$PATCHES_DIR/$ARCH/$VERSION"
fi
- if [ "$repos_type" == "root" ]; then
- repository_url="$repository_url/$DISTRO_FOLDER/$EXTRA_FOLDER"
- fi
-
}
function simplaret_update {