srchub-install

srchub-install Commit Details


Date:2015-10-31 23:28:30 (9 years 1 month ago)
Author:Natalie Adams
Branch:master
Commit:d75a0b317cbabe5502b197f4187ac8c52306406a
Parents: 01ac9ddfbc304ee89d035f8e5badae7fe22cdb4f
Message:fixing percent calculation

Changes:

File differences

srchub-install.py
236236
237237
238238
239
239
240240
241241
242242
243
243
244244
245245
246246
packages = ["git", "mercurial", "subversion", "mariadb-server", "mariadb-client", "libapache2-mod-php5",
"php5-curl", "php5-mysql", "php5-cli", "git-daemon-run", "gitweb", "php-pear", "patch"]
percent = 0
i = 0
i = 0.0
for package in packages:
d.gauge_update(percent, "Installing " + package, update_text=True)
install_package(package)
i += 1
i += 1.0
percent = (i / len(packages)) * 100
d.gauge_stop()

Archive Download the corresponding diff file

Branches

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