diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-12-09 14:27:04 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-12-09 14:27:04 +0000 |
commit | 5ea63f4e2f7661dbf2203730ad496ee803c26dc6 (patch) | |
tree | a064c565bd9eda37776accdc1e947bd9a03ad67d /src | |
parent | 671209f0925dc946f085abd396065da4389ef202 (diff) | |
download | simplepkg-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-x | src/simplaret | 8 |
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 { |