srchub-install

srchub-install Commit Details


Date:2015-10-31 22:53:02 (9 years 1 month ago)
Author:Natalie Adams
Branch:master
Commit:c16e13938724a0c9139e7744cbf6b6b9021c592e
Parents: 20dd78e0a9f44ff7d5bd3218f102663116716a87
Message:updating installer

Changes:

File differences

srchub-install.py
55
66
77
8
9
810
911
1012
......
220222
221223
222224
223
225
224226
225
227
226228
227229
228230
import os
# This is almost always a good thing to do at the beginning of your programs.
import subprocess
locale.setlocale(locale.LC_ALL, '')
"""
d.msgbox(FINAL_MSG)
def install_package(package):
f = ""
FNULL = open(os.devnull, 'w')
if distro == "Debian":
call(["apt-get", "--assume-yes", "-y", "install", package], shell=True, stdout=f)
call(["apt-get", "--assume-yes", "-y", "install", package], stderr=subprocess.STDOUT, stdout=FNULL)
def install_packages():
code = d.yesno("Do you want me to attempt to install the needed packages?")

Archive Download the corresponding diff file

Branches

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