Browse Source

fix atom install more

Kyle P Davis 10 years ago
parent
commit
f9304c5b72
1 changed files with 3 additions and 2 deletions
  1. 3 2
      install.sh

+ 3 - 2
install.sh

@@ -31,9 +31,10 @@ link "$CMD_DIR/.jshintrc" "$HOME/.jshintrc"
 link "$CMD_DIR/.jscsrc" "$HOME/.jscsrc"
 link "$CMD_DIR/.node-inspectorrc" "$HOME/.node-inspectorrc"
 
+mkdir -p "$HOME/.atom"
 for F in "$CMD_DIR/atom/"*; do
-	FN=${F%%*/}
-	link "$CMD_DIR/atom/$FN" "$HOME/atom/$FN"
+	FN=${F##*/}
+	echo link "$CMD_DIR/atom/$FN" "$HOME/.atom/$FN"
 done
 if ! [[ -d "$HOME/.atom/packages/" ]]; then
 	if which apm &>/dev/null; then