Diff
1diff --git a/README.md b/README.md
2index 3684653b22436b83bea6cb8e1d0c779085dd8d72..bf89a6676776615e3b58c3ff04c8827bd5b098c1 100644
3--- a/README.md
4+++ b/README.md
5@@ -1,5 +1,7 @@
6 # Nerd Fonts icons for Python [](https://badge.fury.io/py/nerdfonts)
7
8+Forked from [https://gitlab.com/ajeetdsouza/nerdfonts-python](https://gitlab.com/ajeetdsouza/nerdfonts-python)
9+
10 ## Installation
11
12 ```sh
13diff --git a/nerdfonts/generate.sh b/nerdfonts/generate.sh
14index 32685fd2de6c4619b2dbdf91e66abee5f21badc7..12b36d024825ae67988a8a45e80d5daeab1dcb9e 100755
15--- a/nerdfonts/generate.sh
16+++ b/nerdfonts/generate.sh
17@@ -1,21 +1,18 @@
18 #!/usr/bin/env bash
19
20+set -e
21+
22 SOURCE_DIR="$(dirname $0)"
23 SCRIPTS_DIR="$SOURCE_DIR/tmp"
24 OUTPUT_FILE="$SOURCE_DIR/icons.py"
25-
26-if [ -z "$1" ]; then
27- BRANCH="trunk"
28- VERSION="latest"
29-else
30- BRANCH="branches/$1"
31- VERSION="$1"
32-fi
33-
34-URL="https://github.com/ryanoasis/nerd-fonts/$BRANCH/bin/scripts/lib"
35+URL="https://github.com/ryanoasis/nerd-fonts/raw/master/bin/scripts/lib/"
36+SCRIPTS=("i_fa.sh" "i_weather.sh" "i_all.sh" "i_pom.sh" "i_cod.sh" "i_oct.sh" "i_dev.sh" "i_seti.sh" "i_material.sh" "i_md.sh" "i_logos.sh" "i_ple.sh" "i_fae.sh" "i_iec.sh")
37
38 rm -rf "$SCRIPTS_DIR"
39-svn checkout "$URL" "$SCRIPTS_DIR"
40+mkdir "$SCRIPTS_DIR"
41+for S in "${SCRIPTS[@]}"; do
42+ wget -q "$URL/$S" -P "$SCRIPTS_DIR"
43+done
44
45 source "$SCRIPTS_DIR/i_all.sh"
46 rm -rf "$SCRIPTS_DIR"
47@@ -35,3 +32,4 @@ truncate -s-2 "$OUTPUT_FILE"
48
49 echo "" >> "$OUTPUT_FILE"
50 echo "}" >> "$OUTPUT_FILE"
51+