Mercurial > hg > nsaunier > traffic-intelligence
annotate scripts/uninstall-scripts.sh @ 1137:e9c12982ed28
Merged in Wendlasida/trafficintelligence-1/Tertuis-Ou-draogo/movingpy-issue-22-from-etienne-beauchamp-1584900380975 (pull request #20)
moving.py [Issue #22 from Etienne Beauchamp In annotationTool Correction]
Approved-by: Tertuis Ouédraogo <[email protected]>
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Sun, 22 Mar 2020 18:57:39 +0000 |
| parents | f3a0b652b590 |
| children |
| rev | line source |
|---|---|
|
560
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
1 #!/bin/sh |
|
683
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
2 if [ $# -ge 1 ]; |
|
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
3 then |
|
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
4 installDirname=$1 |
|
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
5 echo 'Removing from directory '$installDirname |
|
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
6 else |
|
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
7 installDirname='/usr/local/bin' |
|
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
8 echo 'Removing from default directory '$installDirname |
|
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
9 fi |
|
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
10 |
|
560
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
11 for filename in * |
|
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
12 do |
|
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
13 echo 'rm '$installDirname/$filename |
|
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
14 rm $installDirname/$filename |
|
683
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
560
diff
changeset
|
15 done |
