Move utils.sh to system/bin
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
615d4fac8d
commit
09d9f2c1c8
4 changed files with 6 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Author: Severin Kaderli <severin.kaderli@gmail.com>
|
||||
# Usage: ./install.sh
|
||||
. utils.sh
|
||||
. ./system/bin/utils.sh
|
||||
|
||||
#######################################
|
||||
# Configuration variables
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#
|
||||
# Author: Severin Kaderli <severin.kaderli@gmail.com>
|
||||
# Usage: ./post-install.sh
|
||||
. utils.sh
|
||||
. ./system/bin/utils.sh
|
||||
|
||||
#######################################
|
||||
# Configuration variables
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Severin Kaderli <severin.kaderli@gmail.com>
|
||||
. utils.sh
|
||||
|
||||
print_header "Update packages"
|
||||
aurman -Syuu --rebuild
|
||||
npm update -g
|
2
utils.sh → system/bin/utils.sh
Normal file → Executable file
2
utils.sh → system/bin/utils.sh
Normal file → Executable file
|
@ -5,7 +5,7 @@
|
|||
#######################################
|
||||
# Directory variables
|
||||
#######################################
|
||||
DIR="$( cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||
DIR="$( cd "$(dirname "${BASH_SOURCE[0]}" )" && cd ../../ && pwd)"
|
||||
SYSTEM_DIR="${DIR}/system"
|
||||
PACKAGES_DIR="${DIR}/packages"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue