[Frugalware-darcs] pacman-tools: fwmakepkg: added Fcpr

VMiklos vmiklos at frugalware.org
Sat Oct 29 00:49:55 CEST 2005


Sat Oct 29 00:11:51 CEST 2005  VMiklos <vmiklos at frugalware.org>
  * fwmakepkg: added Fcpr
  thx janny
diff -rN -u old-darcs/fwmakepkg new-darcs/fwmakepkg
--- old-darcs/fwmakepkg	2005-10-29 00:49:55.000000000 +0200
+++ new-darcs/fwmakepkg	2005-10-29 00:10:59.000000000 +0200
@@ -65,6 +65,11 @@
 	cp "$Fdestdir/"$1 "$Fdestdir"/$2 || Fdie
 }
 
+Fcpr() {
+	Fmessage "Copying file(s) recursive: $1"
+	cp -dpR "$Fsrcdir/"$1 "$Fdestdir"/$2 || Fdie
+}
+
 Fmv() {
 	Fmessage "Moving file(s): $1"
 	mv "$Fdestdir/"$1 "$Fdestdir"/$2 || Fdie



More information about the Frugalware-darcs mailing list