added testing messages (no logic yet)
This commit is contained in:
parent
b6cb0cd766
commit
0d3d4a6eac
1 changed files with 7 additions and 11 deletions
18
setup.sh
18
setup.sh
|
@ -574,6 +574,7 @@ echo
|
||||||
|
|
||||||
# #################### [ TESTING ] ####################
|
# #################### [ TESTING ] ####################
|
||||||
# Tests if script is ready to be executed
|
# Tests if script is ready to be executed
|
||||||
|
# some stuff has to be done manually
|
||||||
|
|
||||||
title "TESTING"
|
title "TESTING"
|
||||||
log "working directory: $RESET$BOLD$PWD"
|
log "working directory: $RESET$BOLD$PWD"
|
||||||
|
@ -590,12 +591,14 @@ if ! command -v sudo &> /dev/null; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# test if manual stuff has been done
|
log "checking partition"
|
||||||
# check if /media/pomp/data exists
|
|
||||||
|
|
||||||
# test if user exists
|
log "checking if $RESET$BOLD/media/pomp/data$GREEN exists in fstab and mounted"
|
||||||
|
|
||||||
# test if OS is manjaro and not arch
|
log "checking if OS is arch"
|
||||||
|
# log "no manjaro support"
|
||||||
|
|
||||||
|
log "checking if grub is installed and set up properly"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
log "TESTING phase complete!"
|
log "TESTING phase complete!"
|
||||||
|
@ -607,13 +610,6 @@ run_install() {
|
||||||
install_essentials
|
install_essentials
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_installation() {
|
|
||||||
echo "do manual stuff (partitioning, bootloader, install sudo)"
|
|
||||||
echo "warning: not fully automatic. keep monitoring"
|
|
||||||
echo "grub"
|
|
||||||
# fstab add /media/pomp/data
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
echo "login firefox & vscode"
|
echo "login firefox & vscode"
|
||||||
echo "restore onetab"
|
echo "restore onetab"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue