srchub-install

srchub-install Commit Details


Date:2015-10-31 23:26:51 (9 years 1 month ago)
Author:Natalie Adams
Branch:master
Commit:01ac9ddfbc304ee89d035f8e5badae7fe22cdb4f
Parents: 98bac49c3fae86e3c42c4accacce9cff5852debd
Message:Allowing maraiadb to prompt for root password

Changes:

File differences

srchub-install.py
224224
225225
226226
227
227
228
229
230
228231
229232
230233
def install_package(package):
FNULL = open(os.devnull, 'w')
if distro == "Debian":
call(["apt-get", "--assume-yes", "-y", "install", package], stderr=subprocess.STDOUT, stdout=FNULL)
if package == "mariadb-server":
call(["apt-get", "--assume-yes", "-y", "install", package])
else:
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.05134s using 14 queries.