diff options
author | Silvino <silvino@bk.ru> | 2021-02-26 00:21:16 +0000 |
---|---|---|
committer | Silvino <silvino@bk.ru> | 2021-02-26 00:22:21 +0000 |
commit | cfce80c5a0b8bc1eccc2f22a0d5d045d29467083 (patch) | |
tree | e2b159a576b88cfcd1406904e5c416f75a753fa9 /tools | |
parent | d12b35a47b9a872ecb5e037f1c2b02e1ea8927fb (diff) | |
download | doc-cfce80c5a0b8bc1eccc2f22a0d5d045d29467083.tar.gz |
linux configuration updates
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/scripts/mirror-system | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tools/scripts/mirror-system b/tools/scripts/mirror-system index 5700d85..6c8a528 100755 --- a/tools/scripts/mirror-system +++ b/tools/scripts/mirror-system @@ -9,10 +9,10 @@ touch /tmp/mirror #BUILD_NAME="R2D9" #BUILD_TITLE="${BUILD_NAME}-$(cat /usr/ports/releases/stable/metadata/build-version)" -BUILD_TITLE="Crux 3.5" +BUILD_TITLE="Crux 3.6" # Update system -#ports -u +ports -u # make them look like updated echo "touch packages..." @@ -24,19 +24,21 @@ done echo "chown pkgmk:pkgmk -R /usr/ports" chown pkgmk:pkgmk -R /usr/ports -#echo "update system" -#prt-get depinst $(prt-get listinst | xargs prt-get quickdep) -#prt-get sysup -#prt-get update -fr $(revdep) -# +echo "update system" +prt-get depinst $(prt-get listinst | xargs prt-get quickdep) +prt-get sysup +prt-get update -fr $(revdep) + # Create list of installed packages echo "creating list of installed..." rm -r /usr/ports/installed pkg_installed ### clean distribution files +mkdir -p /usr/ports/archive/distfiles mv /usr/ports/distfiles/* /usr/ports/archive/distfiles ### clean packages files +mkdir -p /usr/ports/archive/packages mv /usr/ports/packages/* /usr/ports/archive/packages ### get sources and packages cd /usr/ports/installed |