srchub-install

srchub-install Commit Details


Date:2015-11-01 09:54:57 (9 years 1 month ago)
Author:Natalie Adams
Branch:master
Commit:30bdc48c05264c2f86a9f520c4679634aa0a8f52
Parents: 82f9533d2e34b8354ae1fca25b4fc69d789d8659
Message:chdir fix

Changes:

File differences

install.sh
11
22
3
4
5
6
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
apt-get update
apt-get install -y --assume-yes python-pip wget dialog vim
pip install python2-pythondialog
wget -qO- "https://srchub.org/p/srchub-install/source/file/master/srchub-install.py" | python
rootcheck=`whoami`
if [ "$rootcheck" == "root" ]
then
apt-get update
apt-get install -y --assume-yes python-pip wget dialog vim
pip install python2-pythondialog
wget -qO- "https://srchub.org/p/srchub-install/source/file/master/srchub-install.py" | python
cd /home/www/indefero/src
else
echo "You must be root to use this script"
fi
srchub-install.py
218218
219219
220220
221
222221
223222
224223
content_file.write(INDEFERO_SVN_APACHE)
def final_msg():
os.chdir("/home/www/indefero/src")
call("mv /home/www/indefero/src/IDF/conf/path.php-dist /home/www/indefero/src/IDF/conf/path.php".split(" "))
call("mv /home/www/indefero/src/IDF/conf/idf.php-dist /home/www/indefero/src/IDF/conf/idf.php".split(" "))
d.msgbox(FINAL_MSG)

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05933s using 14 queries.