X-Git-Url: http://git.plutz.net/?p=bookman;a=blobdiff_plain;f=import.sh;h=1c8e1add431f5aea3c6a2fcb7e2880c2e503e0da;hp=aec5ba1f52630a1a54daf9be45b50561d88205e6;hb=91be9a50c797bec6e76c05467b58b219ad4ce144;hpb=3ca08bd3296480ed86f4f58f05affe98d6f470ce diff --git a/import.sh b/import.sh index aec5ba1..1c8e1ad 100755 --- a/import.sh +++ b/import.sh @@ -25,7 +25,9 @@ import="$1" order=1000 BDB="users/$(genid)" -mkdir -p "${BDB}/favicons" +mkdir users/ +git init "${BDB}" || mkdir "${BDB}" +mkdir "${BDB}/favicons" while read l; do case "$l" in