srchub-install

srchub-install Commit Details


Date:2016-03-27 19:23:04 (8 years 8 months ago)
Author:Natalie Adams
Branch:master
Commit:1b522bd2d54c632d36ca1d0916581fe13ad9afc6
Parents: 1dbcb4ca8574e42625a7c388245b8679072b07f5
Message:fixing patching issue

Changes:

File differences

srchub-install.py
203203
204204
205205
206
206
207207
208208
209209
......
233233
234234
235235
236
237236
238237
239238
call(["pear", "install", "--alldeps", "Mail_mime"], stderr=subprocess.STDOUT, stdout=FNULL)
def fix_auth_basic():
with open('/tmp/patch', 'w') as content_file:
with open('/tmp/Authbasic.patch', 'w') as content_file:
content_file.write(AUTHBASIC_PATCH)
call(["patch", "-N", "/usr/share/php/File/Passwd/Authbasic.php", "<", "/tmp/Authbasic.patch"])
call(["rm /tmp/patch"])
code = d.yesno("Do you want me to attempt to install the needed packages?")
if code == d.OK:
d.gauge_start("Installing...")
call(["apt-get", "update"])
call(["apt-get", "upgrade"])
packages = ["git", "mercurial", "subversion", "mariadb-client", "libapache2-mod-php5",
"php5-curl", "php5-mysql", "php5-cli", "git-daemon-run", "gitweb", "php-pear", "patch", "mariadb-server"]

Archive Download the corresponding diff file

Branches

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