Add installation of dde to install script
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
0c06679e5f
commit
8aba167258
1 changed files with 15 additions and 24 deletions
39
install
39
install
|
@ -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
|
||||
|
||||
|
||||
###############################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue