Changes to prevent the update system from automatically connect to the repos without the user's permission

This commit is contained in:
Ruben Rodriguez 2018-02-12 21:31:26 -05:00
parent eaed0737fe
commit 52cfb8eb29
5 changed files with 89 additions and 10 deletions

View file

@ -20,7 +20,7 @@
def get_ubuntu_flavor_name(cache=None):
""" try to guess the flavor name based on the running desktop """
pkg = get_ubuntu_flavor_package(cache=cache)
- lookup = {'ubuntustudio-desktop': 'Trisquel Studio'}
- lookup = {'ubuntustudio-desktop': 'Ubuntu Studio'}
+ lookup = {'trisquel-mini': 'Trisquel Mini', 'trisquel-sugar': 'Trisquel Sugar' }
if pkg in lookup:
return lookup[pkg]