Moved opus into bin folder
This commit is contained in:
parent
75b0e7c9c6
commit
e52ed9a2d1
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@ install:
|
|||
mkdir -p ~/.mumbledj/config
|
||||
mkdir -p ~/.mumbledj/songs
|
||||
mkdir -p ~/.mumbledj/web
|
||||
if [ -a ~/.mumbledj/config/mumbledj.gcfg ]; then mv ~/.mumbledj/config/mumbledj.gcfg ~/.mumbledj/config/mumbledj_backup.gcfg; fi;
|
||||
if [ -f ~/.mumbledj/config/mumbledj.gcfg ]; then mv ~/.mumbledj/config/mumbledj.gcfg ~/.mumbledj/config/mumbledj_backup.gcfg; fi;
|
||||
cp -u config.gcfg ~/.mumbledj/config/mumbledj.gcfg
|
||||
cp -u index.html ~/.mumbledj/web/index.html
|
||||
if [ -d ~/bin ]; then cp -f mumbledj* ~/bin/mumbledj; else sudo cp -f mumbledj* /usr/local/bin/mumbledj; fi;
|
||||
|
|
|
@ -12,10 +12,10 @@ else
|
|||
fi
|
||||
|
||||
# check to see if opus is installed
|
||||
if [ ! -d "$HOME/opus/lib" ]; then
|
||||
if [ ! -d "$HOME/bin/lib" ]; then
|
||||
wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
|
||||
tar xzvf opus-1.0.3.tar.gz
|
||||
cd opus-1.0.3 && ./configure --prefix=$HOME/opus && make && make install
|
||||
cd opus-1.0.3 && ./configure --prefix=$HOME/bin && make && make install
|
||||
else
|
||||
echo 'Using cached version of opus.';
|
||||
fi
|
||||
|
@ -27,3 +27,8 @@ if [ ! -f "$HOME/bin/youtube-dl" ]; then
|
|||
else
|
||||
echo 'Using cached version of youtube-dl.';
|
||||
fi
|
||||
|
||||
ls -l $HOME/bin
|
||||
ls -l $HOME/bin/lib
|
||||
ls -l $HOME/opus
|
||||
ls -l $HOME/opus/lib
|
Reference in a new issue