about summary refs log tree commit diff stats
path: root/core/scripts/restore-ports.sh
diff options
context:
space:
mode:
authorEden <edendeoliveira@gmail.com>2019-04-10 23:02:55 +0100
committerEden <edendeoliveira@gmail.com>2019-04-10 23:12:09 +0100
commitfdc231661647d4ca15ddf312e85b210eabd23e50 (patch)
tree36a1e267f434b3e5c6bafe9a57b0abf4fd82236e /core/scripts/restore-ports.sh
parent675126cad1cde96a6fcf63efdc1bd8b6f6ba22ad (diff)
parenta19f7c5f9f357102b469b2b44c3f0749e1345b11 (diff)
downloaddoc-fdc231661647d4ca15ddf312e85b210eabd23e50.tar.gz
doc release 0.5.2
Diffstat (limited to 'core/scripts/restore-ports.sh')
-rw-r--r--core/scripts/restore-ports.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/scripts/restore-ports.sh b/core/scripts/restore-ports.sh
index 39f5178..b53e723 100644
--- a/core/scripts/restore-ports.sh
+++ b/core/scripts/restore-ports.sh
@@ -19,7 +19,7 @@ extract_archives() {
         echo "extracting ${COLL_VERSION}.tar to /usr/ports/packages"
         tar -C /usr/ports/packages -xf ${WORK_DIR}/${COLL_VERSION}.tar
         rm ${WORK_DIR}/${COLL_VERSION}.tar
-    done < ${WORK_DIR}/ports_versions.pkg
+    done < ${WORK_DIR}/metadata/ports-releases
 }
 
 update_system() {
@@ -30,7 +30,7 @@ update_system() {
     while read COLL_VERSION; do
         COLL_NAME=$(echo $COLL_VERSION | cut -d "-" -f 1)
         ports -u $COLL_NAME
-    done < ${WORK_DIR}/ports_versions.pkg
+    done < ${WORK_DIR}/metadata/ports-releases
 
     # first update with prt-get
     prt-get sysup