aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 {