Loop progs, cleanup source output
This commit is contained in:
parent
0c42c162d6
commit
7fe5d9e75e
2 changed files with 4 additions and 8 deletions
6
arkdep
6
arkdep
|
@ -28,7 +28,7 @@ declare -r arkdep_dir='/arkdep/'
|
|||
|
||||
## Load config file
|
||||
#
|
||||
source $arkdep_dir/config
|
||||
source $(readlink -m $arkdep_dir/config)
|
||||
|
||||
## Common functions
|
||||
#
|
||||
|
@ -66,8 +66,10 @@ cleanup_and_quit () {
|
|||
for prog in btrfs wget dracut bootctl curl; do
|
||||
if ! command -v $prog > /dev/null; then
|
||||
printf "\e[1;31m<#>\e[0m\e[1m Failed to locate $prog, ensure it is installed\e[0m\n"
|
||||
exit 1
|
||||
err=1
|
||||
fi
|
||||
|
||||
[[ $err ]] && exit 1
|
||||
done
|
||||
|
||||
## Core functions
|
||||
|
|
|
@ -74,12 +74,6 @@ LocalFileSigLevel = Optional
|
|||
[arkane]
|
||||
Server = https://repo.arkanelinux.org/$repo/os/$arch
|
||||
|
||||
[arkane-core]
|
||||
Server = https://repo.arkanelinux.org/$repo/os/$arch
|
||||
|
||||
[arkane-extra]
|
||||
Server = https://repo.arkanelinux.org/$repo/os/$arch
|
||||
|
||||
[arkane-cauldron]
|
||||
Server = https://repo.arkanelinux.org/$repo/os/$arch
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue