[Frugalware-darcs] fwlive: get rid of hardcoded HU shit, get the language setting from the config

VMiklos vmiklos at frugalware.org
Sun Apr 29 23:31:59 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=fwlive;a=darcs_commitdiff;h=20070429212847-e2957-a338d9d5662e629804fd4031215f7bbdd92f7832.gz;

[get rid of hardcoded HU shit, get the language setting from the config
VMiklos <vmiklos at frugalware.org>**20070429212847] {
move ./parse_cmdline ./parse_cmdline.in
move ./xorg.conf ./xorg.conf.in
hunk ./Makefile 55
-checkfiles:
+parse_cmdline: parse_cmdline.in
+	sed 's/@FWLLLANG@/$(FWLLLANG)/' $@.in > $@
+
+xorg.conf: xorg.conf.in
+	sed 's/@FWLSLANG@/$(FWLSLANG)/' $@.in > $@
+	sed -i 's/"en"/"us"/' $@
+
+checkfiles: parse_cmdline xorg.conf
hunk ./Makefile 277
-	rm -f ${ISONAME}-${FWLSREL}.iso crypt_fwlive
+	rm -f ${ISONAME}-${FWLSREL}.iso crypt_fwlive parse_cmdline xorg.conf
hunk ./parse_cmdline.in 14
-lang="hu_HU"
+lang="@FWLLLANG@"
hunk ./xorg.conf.in 36
-	Option      "XkbLayout" "hu"
+	Option      "XkbLayout" "@FWLSLANG@"
}


More information about the Frugalware-darcs mailing list