Commit 18053b8d authored by Mohcine Chraibi's avatar Mohcine Chraibi

Fix missing directory in ini.sh

parent 93d04740
Pipeline #5963 passed with stage
in 5 seconds
......@@ -8,25 +8,27 @@ sudo apt-get update
sudo apt-get install -y emacs25 git
sudo apt-get clean
if [ ! -d "$HOME/Dropbox/Orgfiles" ]; then
orgfileDir="$HOME/Dropbox/Orgfiles"
if [ ! -d "$orgfileDir ]; then
echo "mkdir $orgfileDir"
mkdir -p "$orgfileDir/journal"
fi
# touch some files
if [ ! -f $orgfileDir/master.org ] ; then
if [ ! -f "$orgfileDir/master.org" ]; then
echo "touch $orgfileDir/master.org"
touch $orgfileDir/master.org
fi
if [ ! -f $orgfileDir/journal.org ] ; then
if [ ! -f "$orgfileDir/journal.org" ]; then
echo "touch $orgfileDir/journal.org"
touch $orgfileDir/journal.org
fi
if [ ! -f $orgfileDir/notes.org ] ; then
if [ ! -f "$orgfileDir/notes.org" ]; then
touch $orgfileDir/notes.org
fi
if [ ! -f $orgfileDir/meeting.org ] then
echo "touch $orgfileDir/meeting.org"
touch $orgfileDir/meeting.org
if [ ! -f "$orgfileDir/meeting.org" ]; then
echo "touch $orgfileDir/meeting.org"
touch $orgfileDir/meeting.org
fi
# add some useful aliases
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment