Mercurial Hosting > traffic-intelligence
comparison scripts/uninstall-scripts.sh @ 683:f3a0b652b590 dev
added function to display the speed distributions and optimize a little going through objects
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 05 Jun 2015 11:04:06 +0200 |
parents | 5b534ad95bfb |
children |
comparison
equal
deleted
inserted
replaced
682:fbe29be25501 | 683:f3a0b652b590 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 installDirname='/usr/local/bin' | 2 if [ $# -ge 1 ]; |
3 then | |
4 installDirname=$1 | |
5 echo 'Removing from directory '$installDirname | |
6 else | |
7 installDirname='/usr/local/bin' | |
8 echo 'Removing from default directory '$installDirname | |
9 fi | |
10 | |
3 for filename in * | 11 for filename in * |
4 do | 12 do |
5 echo 'rm '$installDirname/$filename | 13 echo 'rm '$installDirname/$filename |
6 rm $installDirname/$filename | 14 rm $installDirname/$filename |
7 done | 15 done |