Changeset 8160


Ignore:
Timestamp:
Oct 15, 2018, 1:22:28 PM (16 months ago)
Author:
hectorgh
Message:

fixing adobe-flashplugin check

Location:
lliurex-ubiquity-addons/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-ubiquity-addons/trunk/fuentes/flash-hooks/99-add-canonical-repository

    r7101 r8160  
    66if [ "$RC" = "0" ]; then
    77
    8         echo "# AUTOMATICALLY ADDED BY LLIUREX DURING INSTALLATION" > /target/etc/apt/sources.list.d/canonical.list
    9         echo "deb http://archive.canonical.com/ubuntu xenial partner" >> /target/etc/apt/sources.list.d/canonical.list
     8        if [ -e "/usr/lib/adobe-flashplugin/libflashplayer.so" ];then
    109
    11         echo -e "#!/bin/bash\nzero-center set-configured lliurex-flash-installer" > /target/etc/n4d/one-shot/set-flash-configured
    12         chmod +x /target/etc/n4d/one-shot/set-flash-configured
     10                echo "# AUTOMATICALLY ADDED BY LLIUREX DURING INSTALLATION" > /target/etc/apt/sources.list.d/canonical.list
     11                echo "deb http://archive.canonical.com/ubuntu xenial partner" >> /target/etc/apt/sources.list.d/canonical.list
     12
     13                echo -e "#!/bin/bash\nzero-center set-configured lliurex-flash-installer" > /target/etc/n4d/one-shot/set-flash-configured
     14                chmod +x /target/etc/n4d/one-shot/set-flash-configured
     15        fi
    1316
    1417fi
  • lliurex-ubiquity-addons/trunk/fuentes/src/UbiLliureXFlash.py

    r7709 r8160  
    6767                        f.write("adobe-flashplugin\n")
    6868                        f.close()
     69                       
     70                        # enable partner repositories
     71                        self.preseed_bool('apt-setup/partner', True)
     72                       
    6973                else:
    7074                        if os.path.exists(list_file):
Note: See TracChangeset for help on using the changeset viewer.