Skip to content

Commit

Permalink
If you choose Busybox base, you also need to confirm GPLv3.
Browse files Browse the repository at this point in the history
Signed-off-by: Wang Xin <[email protected]>
  • Loading branch information
WangXin-FNST committed Jul 27, 2016
1 parent 99cbe28 commit 9965ae5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions smart/interfaces/tgui/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ def __init_pkg_type():
selected_pkgs = []
selected_pkgs_spec = []
pkgs_spec = []
if install_type != INSTALL_BUSYBOX:
result = HotkeyExitWindow(screen, confirm_type=CONFIRM_LICENSE)
if result == "y":
no_gpl3 = False
else:
no_gpl3 = True
#if install_type != INSTALL_BUSYBOX:
result = HotkeyExitWindow(screen, confirm_type=CONFIRM_LICENSE)
if result == "y":
no_gpl3 = False
else:
no_gpl3 = True
#==============================
# select package
#==============================
Expand Down Expand Up @@ -188,7 +188,7 @@ def PKGINSTWindowCtrl(self, screen, install_type, pkgTypeList, no_gpl3, packages
packages = ctrl.getCache().getPackages()
if len(packages) > 1:
sortUpgrades(packages)
packages.sort()
packages.sort()
display_pkgs = copy.copy(packages)
else:
display_pkgs = copy.copy(packages)
Expand Down

0 comments on commit 9965ae5

Please sign in to comment.