diff --git a/README.md b/README.md index 4f0f248..a4c657b 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,6 @@ A comprehensive bash script to create and maintain aptly mirrors for Debian and Key settings: - `ARCHITECTURES`: CPU architectures to mirror (e.g., `"amd64"` or `"amd64 arm64"`) - - `APTLY_ROOT`: Where aptly stores its database and mirrors (default: `~/.aptly`) - - `PUBLISH_ROOT`: Where published repos are served (default: `~/.aptly/public`) - `KEEP_SNAPSHOTS`: Number of old snapshot sets to retain (default: `2`) 4. **Make the script executable**: @@ -204,8 +202,6 @@ All settings are in `aptly-mirror.conf`. See the included example for detailed c | `DOWNLOAD_LIMIT` | `0` | Speed limit in KiB/s (0 = unlimited) | | `IGNORE_SIGNATURES` | `0` | Skip GPG verification (not recommended) | | `SKIP_SIGNING` | `0` | Skip GPG signing when publishing | -| `APTLY_ROOT` | `~/.aptly` | Aptly database and mirrors location | -| `PUBLISH_ROOT` | `~/.aptly/public` | Published repositories root | ### Logging diff --git a/aptly-mirror.conf b/aptly-mirror.conf index fa92fc5..f0f5424 100644 --- a/aptly-mirror.conf +++ b/aptly-mirror.conf @@ -28,19 +28,6 @@ DOWNLOAD_LIMIT=0 # Set to 1 to skip GPG signing when publishing (useful if no GPG key configured) SKIP_SIGNING=0 -# --------------------------------------------------------------------------- -# Storage paths -# --------------------------------------------------------------------------- - -# Root directory for aptly data (mirrors, snapshots, db) -# Leave empty to use aptly's default (~/.aptly) -APTLY_ROOT="" - -# Directory where published repositories are served from -# Leave empty to use aptly's default (~/.aptly/public) -PUBLISH_ROOT="" - - # --------------------------------------------------------------------------- # Debian mirrors # --------------------------------------------------------------------------- diff --git a/aptly-mirror.sh b/aptly-mirror.sh index 25b28b3..e098ed9 100755 --- a/aptly-mirror.sh +++ b/aptly-mirror.sh @@ -334,7 +334,7 @@ do_publish() { snapshot_and_publish_ubuntu log "=== Publish complete ===" log "" - log "Repositories are published under ${PUBLISH_ROOT:-~/.aptly/public}/" + log "Repositories are published under ~/.aptly/public/" log "" log "Client sources.list entries:" for codename in "${!DEBIAN_RELEASES[@]}"; do