File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 3
3
# Le fichier gedit-markdown.sh fait partie de gedit-markdown.
4
4
# Auteur: Jean-Philippe Fleury <[email protected] >
5
5
# Copyright © Jean-Philippe Fleury, 2009.
6
+ # Copyright © Frédéric Bertolus, 2010.
6
7
7
8
# Ce programme est un logiciel libre; vous pouvez le redistribuer ou le
8
9
# modifier suivant les termes de la GNU General Public License telle que
@@ -87,11 +88,18 @@ if [[ $1 == "installer" ]]; then
87
88
fi
88
89
done
89
90
91
+ link=" "
92
+ if [[ $2 == " dev" ]]; then
93
+ link=" -s"
94
+ fi
90
95
# Copie des fichiers
91
- cp -a language-specs/* $rep_language_specs
92
- cp -a mime-packages/* $rep_mime_packages
93
- cp -a plugins/* $rep_plugins
94
- cp -a snippets/* $rep_snippets
96
+ current_path=$( pwd)
97
+ cd $rep_plugins
98
+
99
+ cp -a $link $current_path /language-specs/* $rep_language_specs
100
+ cp -a $link $current_path /mime-packages/* $rep_mime_packages
101
+ cp -a $link $current_path /plugins/* $rep_plugins
102
+ cp -a $link $current_path /snippets/* $rep_snippets
95
103
96
104
echo -en " \033[1m"
97
105
echo " "
You can’t perform that action at this time.
0 commit comments