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)
def apply(): perubahan = core.get_yang_berubah() return render_template('apply.html', perubahan=perubahan)