summaryrefslogtreecommitdiff
blob: d2a24c495d30051f5ba7dd589d5a0713dbe34a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- client/usr/bin/gnumed	2005-08-26 13:56:53.000000000 +0200
+++ client/usr/bin/gnumed.new	2005-12-15 16:40:19.000000000 +0100
@@ -23,6 +23,9 @@
 	if [ ! -e ${CONFSOURCE} ] ; then
 		echo "Global config file ${CONFSOURCE} missing."
 	else
+		if [ ! -d ${HOME}/.gnumed ] ; then
+			mkdir ${HOME}/.gnumed
+		fi
 		cp -Rv ${CONFSOURCE} ${HOME}/.gnumed/gnumed.conf
 	fi
 fi