mirror of
https://github.com/kevinnlsamuel/bak-old.git
synced 2025-12-06 10:05:58 +05:30
fix file permissions: o+rx
and some cleanup
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user