Browse Source

Copy rather than move

Bob Mottram 9 years ago
parent
commit
c8e193a985
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/freedombone-client

+ 2
- 1
src/freedombone-client View File

@@ -391,7 +391,8 @@ function mesh_batman {
391 391
   echo 'esac' >> $batman_script
392 392
   echo 'exit 0' >> $batman_script
393 393
   chmod +x $batman_script
394
-  sudo mv $batman_script /usr/bin/batman
394
+  sudo cp -f $batman_script /usr/bin/batman
395
+  rm $batman_script
395 396
 }
396 397
 
397 398
 function show_help {