]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
readline: Apply /etc/profile.d/readline.sh to package.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Apr 2010 20:10:04 +0000 (22:10 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Apr 2010 20:10:04 +0000 (22:10 +0200)
pkgs/core/readline/readline.nm
pkgs/core/readline/readline.sh [moved from src/profile.d/readline.sh with 100% similarity]

index 37452258ba016a1b5e3a2879deb20cd4338f49b5..6ec1c59dd2f7c0a74db7f35f67e093d4eae732a5 100644 (file)
@@ -59,4 +59,7 @@ define STAGE_INSTALL_CMDS
        rm -fv $(BUILDROOT)/lib/lib{readline,history}.so
        ln -sfv ../../lib/libreadline.so.6 $(BUILDROOT)/usr/lib/libreadline.so
        ln -sfv ../../lib/libhistory.so.6 $(BUILDROOT)/usr/lib/libhistory.so
+
+       -mkdir -pv $(BUILDROOT)/etc/profile.d
+       cp -vf $(DIR_SOURCE)/readline.sh $(BUILDROOT)/etc/profile.d/
 endef