wok rev 1244

php*admin: add desktop entry
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 12 06:27:41 2008 +0000 (2008-08-12)
parents e85d3536a699
children 3334e1dfcd32
files phpldapadmin/receipt phpldapadmin/stuff/phpldapadmin.desktop phpmyadmin/receipt phpmyadmin/stuff/phpmyadmin.desktop phppgadmin/receipt phppgadmin/stuff/phppgadmin.desktop
line diff
     1.1 --- a/phpldapadmin/receipt	Tue Aug 12 00:00:05 2008 +0200
     1.2 +++ b/phpldapadmin/receipt	Tue Aug 12 06:27:41 2008 +0000
     1.3 @@ -20,11 +20,12 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/share/phpldapadmin $fs/etc
     1.8 +	mkdir -p $fs/usr/share/phpldapadmin $fs/etc $fs/usr/share/applications
     1.9  	cp -a $src/. $fs/usr/share/phpldapadmin
    1.10  	mv $fs/usr/share/phpldapadmin/config $fs/etc/phpldapadmin
    1.11  	ln -s /etc/phpldapadmin $fs/usr/share/phpldapadmin/config
    1.12  	mv $fs/etc/phpldapadmin/config.php.example $fs/etc/phpldapadmin/config.php
    1.13 +	cp stuff/phpldapadmin.desktop $fs/usr/share/applications
    1.14  	chown -R www.www $fs/usr/share/phpldapadmin $fs/etc/phpldapadmin
    1.15  	chmod 700 $fs/etc/phpldapadmin
    1.16  	chmod 600 $fs/etc/phpldapadmin/config.php
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/phpldapadmin/stuff/phpldapadmin.desktop	Tue Aug 12 06:27:41 2008 +0000
     2.3 @@ -0,0 +1,7 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=LDAP Databases
     2.7 +Icon=/usr/share/phpldapadmin/htdocs/images/object.png
     2.8 +Exec=firefox http://127.0.0.1/phpldapadmin/
     2.9 +Type=Application
    2.10 +Categories=Development;
     3.1 --- a/phpmyadmin/receipt	Tue Aug 12 00:00:05 2008 +0200
     3.2 +++ b/phpmyadmin/receipt	Tue Aug 12 06:27:41 2008 +0000
     3.3 @@ -21,10 +21,12 @@
     3.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.5  genpkg_rules()
     3.6  {
     3.7 -	mkdir -p $fs/usr/share/phpmyadmin $fs/etc/phpmyadmin
     3.8 +	mkdir -p $fs/usr/share/phpmyadmin $fs/etc/phpmyadmin $fs/usr/share/applications
     3.9  	cp -a $src/. $fs/usr/share/phpmyadmin
    3.10  	ln -s /etc/phpmyadmin $fs/usr/share/phpmyadmin/config
    3.11  	cp $src/config.sample.inc.php $fs/etc/phpmyadmin/config.inc.php
    3.12 +	rm -f $fs/usr/share/phpmyadmin/phpMyAdmin-$VERSION-all-languages
    3.13 +	cp stuff/phpmyadmin.desktop $fs/usr/share/applications
    3.14  	chown -R www.www $fs/usr/share/phpmyadmin $fs/etc/phpmyadmin
    3.15  	chmod 700 $fs/etc/phpmyadmin
    3.16  	chmod 600 $fs/etc/phpmyadmin/config.inc.php
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/phpmyadmin/stuff/phpmyadmin.desktop	Tue Aug 12 06:27:41 2008 +0000
     4.3 @@ -0,0 +1,7 @@
     4.4 +[Desktop Entry]
     4.5 +Encoding=UTF-8
     4.6 +Name=MySQL Databases
     4.7 +Icon=/usr/share/phpmyadmin/themes/original/img/b_sql.png
     4.8 +Exec=firefox http://127.0.0.1/phpmyadmin/
     4.9 +Type=Application
    4.10 +Categories=Development;
     5.1 --- a/phppgadmin/receipt	Tue Aug 12 00:00:05 2008 +0200
     5.2 +++ b/phppgadmin/receipt	Tue Aug 12 06:27:41 2008 +0000
     5.3 @@ -21,11 +21,12 @@
     5.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.5  genpkg_rules()
     5.6  {
     5.7 -	mkdir -p $fs/usr/share/phppgadmin $fs/etc
     5.8 +	mkdir -p $fs/usr/share/phppgadmin $fs/etc $fs/usr/share/applications
     5.9  	cp -a $src/. $fs/usr/share/phppgadmin
    5.10  	mv $fs/usr/share/phppgadmin/conf $fs/etc/phppgadmin
    5.11  	ln -s /etc/phppgadmin $fs/usr/share/phppgadmin/conf
    5.12  	sed -i -e "s/conf\['extra_login_security'\] = true/conf['extra_login_security'] = false/" $fs/etc/phppgadmin/config.inc.php
    5.13 +	cp stuff/phppgadmin.desktop $fs/usr/share/applications
    5.14  	chown -R www.www $fs/usr/share/phppgadmin $fs/etc/phppgadmin
    5.15  	chmod 700 $fs/etc/phppgadmin
    5.16  	chmod 600 $fs/etc/phppgadmin/*
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/phppgadmin/stuff/phppgadmin.desktop	Tue Aug 12 06:27:41 2008 +0000
     6.3 @@ -0,0 +1,7 @@
     6.4 +[Desktop Entry]
     6.5 +Encoding=UTF-8
     6.6 +Name=PostgreSQL Databases
     6.7 +Icon=/usr/share/phppgadmin/images/themes/default/Introduction.png
     6.8 +Exec=firefox http://127.0.0.1/phppgadmin/
     6.9 +Type=Application
    6.10 +Categories=Development;