]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
simplaret: another small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sat, 9 Dec 2006 14:27:04 +0000 (14:27 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sat, 9 Dec 2006 14:27:04 +0000 (14:27 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@48 04377dda-e619-0410-9926-eae83683ac58

src/simplaret

index 6f9094bd6335737a71d958f7252f5a6caaabd849..7941657a6c1f7f48c0b8123eacd7458ce1356367 100755 (executable)
@@ -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 {