Пример #1
0
def install(paket=None):
	pkg = core.cache[paket]
	if(pkg.is_installed is False):
		pkg.mark_install()
	if(pkg.is_installed and pkg.is_upgradable):
		pkg.mark_upgrade()
	paketchanges = core.get_yang_berubah()
	return render_template('install.html', paketchanges=paketchanges)
Пример #2
0
def apply():
	perubahan = core.get_yang_berubah()
	return render_template('apply.html', perubahan=perubahan)