wok-stable rev 11351

get-flash-plugin: Add support to use /etc/slitaz/slitaz.conf file if it exist. If $INSTALLED doesn't exist, assign it to /var/lib/tazpkg/installed.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Nov 29 11:53:47 2011 +0000 (2011-11-29)
parents 43ed4e348b0d
children a6b781a0cffb
files get-flash-plugin/stuff/get-flash-plugin
line diff
     1.1 --- a/get-flash-plugin/stuff/get-flash-plugin	Tue Nov 29 13:36:45 2011 +0100
     1.2 +++ b/get-flash-plugin/stuff/get-flash-plugin	Tue Nov 29 11:53:47 2011 +0000
     1.3 @@ -1,5 +1,8 @@
     1.4  #!/bin/sh -e
     1.5  
     1.6 +[ -f /etc/slitaz/slitaz.conf ] && . /etc/slitaz/slitaz.conf
     1.7 +[ $INSTALLED ] || INSTALLED=/var/lib/tazpkg/installed
     1.8 +
     1.9  PACKAGE="flash-plugin"
    1.10  WEB_SITE="http://www.adobe.com/products/flash/"
    1.11  SHORT_DESC="Adobe Flash Player."