create timeshift backup before starting
This commit is contained in:
parent
563a61a507
commit
b6cb0cd766
1 changed files with 3 additions and 4 deletions
7
setup.sh
7
setup.sh
|
@ -71,7 +71,8 @@ yay_install() {
|
||||||
backup() {
|
backup() {
|
||||||
dconf dump / > $SCRIPT_DIR/dconf.conf
|
dconf dump / > $SCRIPT_DIR/dconf.conf
|
||||||
# copy /home/pomp directory
|
# copy /home/pomp directory
|
||||||
# make timeshift backup
|
# timeshift settings
|
||||||
|
sudo timeshift --create --comments "auto created by developomp setup script"
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_essentials() {
|
setup_essentials() {
|
||||||
|
@ -603,7 +604,7 @@ log "TESTING phase complete!"
|
||||||
# this is not a hands-free operation blah blah
|
# this is not a hands-free operation blah blah
|
||||||
|
|
||||||
run_install() {
|
run_install() {
|
||||||
:
|
install_essentials
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_installation() {
|
pre_installation() {
|
||||||
|
@ -623,6 +624,4 @@ post_install() {
|
||||||
echo "Defaults pwfeedback"
|
echo "Defaults pwfeedback"
|
||||||
}
|
}
|
||||||
|
|
||||||
# install_essentials
|
|
||||||
|
|
||||||
title "DONE"
|
title "DONE"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue