diff options
author | Erich Eckner <git@eckner.net> | 2019-07-19 14:33:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-19 14:33:05 +0200 |
commit | 85b62b8c6816933132bcca065f5d4918a4a328a5 (patch) | |
tree | 98a629eec69c0a5d5d1455a030849411b412c9ff | |
parent | e8f0023ea90ff17aacb4c83db86a9aa158f68cbf (diff) | |
download | releng-85b62b8c6816933132bcca065f5d4918a4a328a5.tar.xz |
al32-mktorrent.sh: do not cleanup
-rwxr-xr-x | al32-mktorrent.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/al32-mktorrent.sh b/al32-mktorrent.sh index 241c317..bfd8fa8 100755 --- a/al32-mktorrent.sh +++ b/al32-mktorrent.sh @@ -28,11 +28,6 @@ fg_bold="\033[1m" MIRRORLIST_FILE="https://raw.githubusercontent.com/archlinux32/packages/master/core/pacman-mirrorlist/mirrorlist" -function cleanup () { - echo -n -e "$fg_reset${fg_bold}Cleaning up directory...$fg_reset " - rm -f ./*.sig ./*.torrent ./*.rss sha512sums -} - function create_torrent_for_arch () { declare -a available_mirrors mirrorlist="$(curl "$MIRRORLIST_FILE" 2>/dev/null | grep Server | cut -d '=' -f 2 | sed -e 's/\s//g;s_$arch/$repo_archisos/_')" @@ -162,8 +157,6 @@ fi [ -z "$iso_date" ] && read -r -p "Date of the ISO: " iso_date -cleanup - for a in "${architectures[@]}" ; do create_torrent_for_arch "$a" done |