diff options
author | Ueda Naoaki <nao@uedder.com> | 2023-02-05 16:33:44 +0900 |
---|---|---|
committer | Ueda Naoaki <nao@uedder.com> | 2023-02-05 16:33:44 +0900 |
commit | 3143903b0dd01517b2fc6d192d5e8cd6de2d4a6c (patch) | |
tree | 136cc4fd76dd21ccd69ee25382bd3e623e80e179 /install.sh | |
parent | 14fe58ac4c4e7b5b36d5f4d2fd880fee8f4a485c (diff) | |
download | asustor-nas-tailscale-installer-3143903b0dd01517b2fc6d192d5e8cd6de2d4a6c.tar.gz asustor-nas-tailscale-installer-3143903b0dd01517b2fc6d192d5e8cd6de2d4a6c.tar.bz2 asustor-nas-tailscale-installer-3143903b0dd01517b2fc6d192d5e8cd6de2d4a6c.zip |
Fix some errors
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -34,9 +34,9 @@ __backup_if_exist() { } __backup_if_exist $backup_dir /usr/local/bin/tailscale /usr/local/sbin/tailscaled /usr/local/etc/init.d/$init_file -sudo cp $base_dir/tailscale /usr/local/bin/tailscale -sudo cp $base_dir/tailscaled /usr/local/sbin/tailscaled -sudo cp $base_dir/$init_file /usr/local/etc/init.d/$init_file +sudo cp -f $base_dir/tailscale /usr/local/bin/tailscale +sudo cp -f $base_dir/tailscaled /usr/local/sbin/tailscaled +sudo cp -f $base_dir/$init_file /usr/local/etc/init.d/$init_file sudo chmod +x /usr/local/bin/tailscale sudo chmod +x /usr/local/sbin/tailscaled sudo chmod +x /usr/local/etc/init.d/$init_file |