/install
Shell | 12 lines | 8 code | 3 blank | 1 comment | 2 complexity | d515d22628625903005badeb40f340dc MD5 | raw file
- #!/bin/sh
- if [[ ! -e $PREFIX ]]; then
- PREFIX=/usr
- fi
- LIBPATH=$PREFIX/lib
- sudo cp -f plugins/*.so $LIBPATH/
- if [[ ! -e $PREFIX/bin/oc ]]; then
- sudo ln -s $PWD/bin/oc /usr/bin/oc
- fi