PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/install

http://github.com/nddrylliog/oc
Shell | 12 lines | 8 code | 3 blank | 1 comment | 2 complexity | d515d22628625903005badeb40f340dc MD5 | raw file
 1#!/bin/sh
 2
 3if [[ ! -e $PREFIX ]]; then
 4    PREFIX=/usr
 5fi
 6LIBPATH=$PREFIX/lib
 7
 8sudo cp -f plugins/*.so $LIBPATH/
 9
10if [[ ! -e $PREFIX/bin/oc ]]; then
11    sudo ln -s $PWD/bin/oc /usr/bin/oc
12fi