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/config
|
||||||
mkdir -p ~/.mumbledj/songs
|
mkdir -p ~/.mumbledj/songs
|
||||||
mkdir -p ~/.mumbledj/web
|
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 config.gcfg ~/.mumbledj/config/mumbledj.gcfg
|
||||||
cp -u index.html ~/.mumbledj/web/index.html
|
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;
|
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
|
fi
|
||||||
|
|
||||||
# check to see if opus is installed
|
# 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
|
wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
|
||||||
tar xzvf 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
|
else
|
||||||
echo 'Using cached version of opus.';
|
echo 'Using cached version of opus.';
|
||||||
fi
|
fi
|
||||||
|
@ -26,4 +26,9 @@ if [ ! -f "$HOME/bin/youtube-dl" ]; then
|
||||||
chmod a+rx ~/bin/youtube-dl
|
chmod a+rx ~/bin/youtube-dl
|
||||||
else
|
else
|
||||||
echo 'Using cached version of youtube-dl.';
|
echo 'Using cached version of youtube-dl.';
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ls -l $HOME/bin
|
||||||
|
ls -l $HOME/bin/lib
|
||||||
|
ls -l $HOME/opus
|
||||||
|
ls -l $HOME/opus/lib
|
Reference in a new issue