Cleanup install.sh, post-install.sh and utils.sh
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
e405bbcd89
commit
3a8dd98e68
4 changed files with 33 additions and 26 deletions
|
@ -1,13 +1,18 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# post-install.sh
|
||||
#
|
||||
# This is the post installation script. This should be executed only after
|
||||
# install.sh has been executed completly and the system has been rebooted
|
||||
# after that.
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin.kaderli@gmail.com>
|
||||
#
|
||||
# This script installs npm packages.
|
||||
# DESCRIPTION:
|
||||
# This is the post-install script for my dotfiles. It should be only run
|
||||
# after install.sh has been run and the system has been rebooted. This script
|
||||
# installs global npm packages.
|
||||
#
|
||||
# Author: Severin Kaderli <severin.kaderli@gmail.com>
|
||||
# Usage: ./post-install.sh
|
||||
# USAGE:
|
||||
# ./post-install.sh
|
||||
. ./system/bin/utils.sh
|
||||
|
||||
#######################################
|
||||
|
@ -23,6 +28,5 @@ NPM_PACKAGES=(
|
|||
#######################################
|
||||
# Main code
|
||||
#######################################
|
||||
# Install global npm packages
|
||||
print_header "Installing global npm packages"
|
||||
npm i -g "${NPM_PACKAGES[@]}"
|
Loading…
Add table
Add a link
Reference in a new issue