about summary refs log tree commit diff stats
path: root/pub.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pub.sh')
-rwxr-xr-xpub.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/pub.sh b/pub.sh
index 772f9c5..21c15a9 100755
--- a/pub.sh
+++ b/pub.sh
@@ -13,7 +13,10 @@ fn_generate() {
 
 fn_index() {
 	printf "Creating index.pck... \n"
-	txt index -t $title -a "$author" -l "$locations" -p "$peers"
+	txt index --title=$title --authors="$author" --locations="$locations" --peers="$peers" .
+
+	printf "Replicating index.pck... \n"
+	for p in gmi gph www; do cp index.pck $p/index.pck; done
 }
 
 fn_link() {