Initial commit
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# User-level provisioning. Run as your normal user (NOT root), after the system
|
||||
# layer has finished and you've rebooted into the installed system:
|
||||
# ./run.sh
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
source ../02-system/lib.sh
|
||||
REPO_ROOT="$(cd .. && pwd)"
|
||||
|
||||
[ "$(id -u)" -ne 0 ] || die "run as your normal user, not root"
|
||||
|
||||
for step in [0-9][0-9]-*.sh; do
|
||||
info "--- $step ---"
|
||||
source "$step"
|
||||
done
|
||||
|
||||
info "user provisioning done."
|
||||
[ -s "$HOME/aur-failed.log" ] && echo "NOTE: some AUR packages failed — see ~/aur-failed.log"
|
||||
Reference in New Issue
Block a user