# HG changeset patch # User Pascal Bellard # Date 1581779217 -3600 # Node ID 1035f0e819bcac636fd60fe6c96cebe18f4cbdd9 # Parent 3adbd5bf350f2bd4e965326ce88c97647b9e0b08 webgames: add fr translations diff -r 3adbd5bf350f -r 1035f0e819bc ppp/receipt --- a/ppp/receipt Sat Feb 15 15:33:13 2020 +0100 +++ b/ppp/receipt Sat Feb 15 16:06:57 2020 +0100 @@ -90,6 +90,7 @@ chmod 711 $fs/etc/ppp/ip-up $fs/etc/ppp/ip-down # insert #!/bin/sh on top line in ip* scripts + sed -i '/#!\/bin\/sh/d' $fs/etc/ppp/ip* 2>/dev/null sed -i '1i\#!/bin/sh' $fs/etc/ppp/ip* 2>/dev/null # add empty peers dir mkdir -p $fs/etc/ppp/peers diff -r 3adbd5bf350f -r 1035f0e819bc tazpanel-extra/receipt --- a/tazpanel-extra/receipt Sat Feb 15 15:33:13 2020 +0100 +++ b/tazpanel-extra/receipt Sat Feb 15 16:06:57 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazpanel-extra" -VERSION="631" +VERSION="632" CATEGORY="system-tools" SHORT_DESC="SliTaz administration and configuration panel extra modules." MAINTAINER="pascal.bellard@slitaz.org" diff -r 3adbd5bf350f -r 1035f0e819bc tazpanel/receipt --- a/tazpanel/receipt Sat Feb 15 15:33:13 2020 +0100 +++ b/tazpanel/receipt Sat Feb 15 16:06:57 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazpanel" -VERSION="631" +VERSION="632" CATEGORY="system-tools" SHORT_DESC="SliTaz administration and configuration panel." MAINTAINER="pankso@slitaz.org" diff -r 3adbd5bf350f -r 1035f0e819bc webgames/receipt --- a/webgames/receipt Sat Feb 15 15:33:13 2020 +0100 +++ b/webgames/receipt Sat Feb 15 16:06:57 2020 +0100 @@ -8,31 +8,44 @@ LICENSE="MIT" WEB_SITE="http://www.slitaz.org/" +mline() +{ + type=$1 + IFS='|'; set -- $2 + echo "$type=$1"; shift + while [ "$1" ]; do + echo "$type${1%]*}]=${1#*]}" + shift + done +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/applications while read url name comment icon; do - cat > $fs/usr/share/applications/$(echo $name | \ + cat > $fs/usr/share/applications/$(echo ${name%|*} | \ tr [A-Z\ ] [a-z_]).desktop <