forked from umamialex/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apt-init-wsl.sh
executable file
·41 lines (29 loc) · 915 Bytes
/
apt-init-wsl.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
. ./apt-init/log.sh && \
./apt-init/update.sh && \
./apt-init/installers/aptitude.sh && \
./apt-init/installers/core.sh && \
./apt-init/prerequisites/nvm.sh && \
./apt-init/prerequisites/fish.sh && \
./apt-init/prerequisites/node.sh && \
./apt-init/prerequisites/vim.sh && \
./apt-init/prerequisites/yarn.sh && \
./apt-init/update.sh && \
if [[ "$CI" != "true" ]]; then
./apt-init/upgrade.sh
fi && \
./apt-init/installers/dev.sh && \
./apt-init/installers/config.sh && \
./apt-init/installers/mongodb.sh && \
./apt-init/installers/yarn-global.sh && \
./apt-init/fix-permissions.sh && \
./apt-init/setup-services.sh && \
# Set fish as default shell
log "Setting fish as default shell:" && \
echo "" >> /home/$USER/.bashrc && \
echo "fish; exit" >> /home/$USER/.bashrc && \
./apt-init/update-sudoers.sh && \
if [[ "$CI" != "true" ]]; then
./apt-init/update-defaults.sh
fi && \
log "Done!"