Cleanup install.sh, post-install.sh and utils.sh

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2018-12-13 22:11:20 +01:00
parent e405bbcd89
commit 3a8dd98e68
4 changed files with 33 additions and 26 deletions

View file

@ -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[@]}"