Add installation of dde to install script

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-06-25 11:04:22 +02:00
parent 0c06679e5f
commit 8aba167258
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4

39
install
View file

@ -27,18 +27,14 @@ HOST="$(hostname)"
DIRECTORIES=(
".local/log"
".local/share/gnupg/"
"build"
"documents"
"downloads"
"videos"
)
PRIVATE_DIRECTORIES=(
"build"
"projects"
)
WORK_DIRECTORIES=(
"work"
"videos"
"work/opensource"
"work/projects"
"work/tools"
)
# Files which should be symlinked in the home folder
@ -239,20 +235,6 @@ do
mkdir -p "${HOME}/${dir}"
done
if [ "${IS_WORK}" = "1" ]; then
for dir in "${WORK_DIRECTORIES[@]}"
do
print_log "Creating directory ${YELLOW}${HOME}/${dir}${RESET}"
mkdir -p "${HOME}/${dir}"
done
else
for dir in "${PRIVATE_DIRECTORIES[@]}"
do
print_log "Creating directory ${YELLOW}${HOME}/${dir}${RESET}"
mkdir -p "${HOME}/${dir}"
done
fi
print_section "Setup notes directory"
if [ ! -d "${HOME}/notes" ]; then
git clone gl:notes "${HOME}/notes"
@ -281,6 +263,15 @@ else
cd "${OLD_DIR}" || exit
fi
###############################################################################
# Prepare work tools #
###############################################################################
print_section "Prepare work tools"
print_log "Installing dde"
if [ ! -d "${HOME}/work/tools/dde" ]; then
git clone "https://github.com/whatwedo/dde" "${HOME}/work/tools/dde"
fi
###############################################################################
# Creating symlinks #
@ -371,7 +362,7 @@ done
# Enable ntp #
###############################################################################
print_section "Enabling ntp"
timedatectl set-ntp true
sudo timedatectl set-ntp true
###############################################################################