We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a17d9ea commit 774caedCopy full SHA for 774caed
start.sh
@@ -0,0 +1,21 @@
1
+#! /bin/bash
2
+
3
+DIR="$1"
4
5
+if [ $# -ne 1 ]
6
+then
7
+ echo "Usage: $0 {new extension key}"
8
+ exit 1
9
+fi
10
11
+if [ -d "$DIR" ]
12
13
+ echo "Directory/extension '$DIR' exists already!"
14
+else
15
+ git clone git://github.com/georgringer/modernpackage.git $DIR --depth=1
16
+ echo "$DIR created."
17
18
+ cd $DIR && rm -rf .git && grep -rl modernpackage . |xargs sed -i -e "s/modernpackage/${PWD##*/}/"
19
+ echo "Changed all occurrences of modernpackage to $DIR."
20
+ echo "Have fun with your theme!"
21
0 commit comments