minor edits
This commit is contained in:
parent
581cf78167
commit
bd92db3d2b
|
@ -47,13 +47,10 @@ echo ""
|
||||||
echo "------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------"
|
||||||
echo "Installing required software... "
|
echo "Installing required software... "
|
||||||
apt-get -y install $DEP
|
apt-get -y install $DEP
|
||||||
|
|
||||||
#Make Directories
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Creating YSF directories... "
|
echo "Creating YSF directories... "
|
||||||
mkdir -p $YSFINSTDIR
|
mkdir -p $YSFINSTDIR
|
||||||
mkdir -p $YSFAPPDIR
|
mkdir -p $YSFAPPDIR
|
||||||
#If the file is here already, then we dont need to compile on top of it. Remove the git clone directory and start over.
|
|
||||||
if [ -e $YSFINSTDIR/YSFClients/YSFReflector/YSFReflector ]
|
if [ -e $YSFINSTDIR/YSFClients/YSFReflector/YSFReflector ]
|
||||||
then
|
then
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -69,7 +66,6 @@ else
|
||||||
cd $YSFINSTDIR/YSFClients/YSFReflector
|
cd $YSFINSTDIR/YSFClients/YSFReflector
|
||||||
make clean all
|
make clean all
|
||||||
fi
|
fi
|
||||||
#Now the file should be there, if it compiled correctly.
|
|
||||||
if [ -e $YSFINSTDIR/YSFClients/YSFReflector/YSFReflector ]
|
if [ -e $YSFINSTDIR/YSFClients/YSFReflector/YSFReflector ]
|
||||||
then
|
then
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -80,8 +76,6 @@ else
|
||||||
echo "UH OH!! I dont see the YSFReflector application file after attempting to compile. The output above is the only indication as to why it might have failed. To Try again Remove '/root/reflector-install-files'. "
|
echo "UH OH!! I dont see the YSFReflector application file after attempting to compile. The output above is the only indication as to why it might have failed. To Try again Remove '/root/reflector-install-files'. "
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Copying over files.
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Copying files over to the executable directory...... "
|
echo "Copying files over to the executable directory...... "
|
||||||
cp $YSFINSTDIR/YSFClients/YSFReflector/YSFReflector $YSFAPPDIR
|
cp $YSFINSTDIR/YSFClients/YSFReflector/YSFReflector $YSFAPPDIR
|
||||||
|
|
Loading…
Reference in New Issue