view scripts/uninstall-scripts.sh @ 1024:acb4f6f6545d

corrected issues with update to OpenCV 3
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sun, 10 Jun 2018 23:26:14 -0400
parents f3a0b652b590
children
line wrap: on
line source

#!/bin/sh
if [ $# -ge 1 ];
then
    installDirname=$1
    echo 'Removing from directory '$installDirname
else
    installDirname='/usr/local/bin'
    echo 'Removing from default directory '$installDirname
fi

for filename in *
do
    echo 'rm '$installDirname/$filename
    rm $installDirname/$filename
done