mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-15 23:40:35 +00:00
Compare commits
No commits in common. "1b334db7cc30207ab5340767ea9dfc020969e100" and "7426d0ffb336cce156062fc6317b6bee2f88b5cf" have entirely different histories.
1b334db7cc
...
7426d0ffb3
@ -1057,12 +1057,6 @@ download_install() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# Check if this file has already been installed
|
||||
if [ -d "$download_dir/$download_name" ]; then
|
||||
message info "The selected $download_type is already installed:\n\n$download_name"
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Get the selected download url
|
||||
# To add new sources, handle them here and in the
|
||||
# download_select_install function below
|
||||
@ -1182,7 +1176,6 @@ download_install() {
|
||||
# Cleanup tmp download
|
||||
debug_print continue "Cleaning up $tmp_dir/$download_file..."
|
||||
rm "$tmp_dir/$download_file"
|
||||
rm -r "$tmp_dir/$download_name"
|
||||
}
|
||||
|
||||
# List available items for download
|
||||
|
Loading…
x
Reference in New Issue
Block a user