[Frugalware-darcs] pacman-g2: scripts/*sync: source makepkg.conf

VMiklos vmiklos at frugalware.org
Tue Jul 3 00:17:38 CEST 2007

Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-g2;a=darcs_commitdiff;h=20070702220319-e2957-2761804f4c71f6d8ac0d8768c1fe6b57dc5ae980.gz;

[scripts/*sync: source makepkg.conf
VMiklos <vmiklos at frugalware.org>**20070702220319
 Date: 2007-06-12
 Reason: Feature, Cosmetic
 Author: Marcus Habermehl <bmh1980de at yahoo.de>
 Upstream Status:
 Description: Source the /etc/makepkg.conf file in other pacman-g2 related
              scripts. This is required for later patches.
 (it means that later this way FrugalBuild, fpm or fdb can be configured in
 makepkg.conf, to make pacman-g2 even more distro-independent)
] {
hunk ./scripts/gensync 26
+# makepkg configuration
+[ -f /etc/makepkg.conf ] && source /etc/makepkg.conf
hunk ./scripts/makeworld 25
-# makepkg configuration, mainly for $CARCH
+# makepkg configuration
hunk ./scripts/makeworld 29
hunk ./scripts/updatesync 25
+# makepkg configuration
+[ -f /etc/makepkg.conf ] && source /etc/makepkg.conf

More information about the Frugalware-darcs mailing list