fix file permissions: o+rx

and some cleanup
This commit is contained in:
kevinnls
2021-03-16 20:22:33 +05:30
parent 8a6e42f0c8
commit 18d58941af

View File

@@ -155,12 +155,10 @@ cleanup(){
install(){
setup
find_dler
echo "$downloader"
find_dest_dir
echo "$dest_dir"
download
chmod 750 "$tmp_file_path"
mv "$tmp_file_path" "$dest_dir"
chmod 755 "$tmp_file_path"
mv "$tmp_file_path" "${dest_dir}/"
is_command bak-old.sh && install_success || install_failure
}