8000 post-install noop makeskel · Issue #6 · aerth/aerthos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

post-install noop makeskel #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aerth opened this issue May 15, 2025 · 0 comments
Open

post-install noop makeskel #6

aerth opened this issue May 15, 2025 · 0 comments

Comments

@aerth
Copy link
Owner
aerth commented May 15, 2025

to prevent it from wiping customizations,
noop the shell script ~/.makeskel.bash

diff --color old/.makeskel.bash .makeskel.bash

6,10c6
< test ! -e ~/.config/aerthos/setup.txt || {
<     echo "Error: ~/.config/aerthos/setup.txt already exists. If you want to reconfigure, remove it." >&2
<     sleep 3
<     exit 0
< }
---
> 
37,38c33,34
<     xfconf-query -c xsettings -p /Net/IconThemeName -s "bloom-classic" --create -t string # part of deepin-icon-theme
<     xfconf-query -c xsettings -p /general/theme -s "McOS-XFCE-Edition-II" --create -t string
---
> #    xfconf-query -c xsettings -p /Net/IconThemeName -s "bloom-classic" --create -t string # part of deepin-icon-theme
> #    xfconf-query -c xsettings -p /general/theme -s "McOS-XFCE-Edition-II" --create -t string
172,185c168,172
< grep 'color-background-vary' ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml || do_themer
< xfce4-terminal --show-borders --title "aerthos Package Installation" -x sudo bash -c -x '/usr/local/sbin/9999-aerthos-bootpackages.bash || (echo package installation failed, you can close this window; sleep 60)'
< cat /proc/cmdline | grep nodot || (git clone https://gitlab.com/aerth/dot ~/.local/dot)
< mkdir -p ~/.config/aerthos
< touch ~/.config/aerthos/setup.txt
< echo all done
< # for example, nuke home dir and run this for creating /etc/skel config
< if "$1" == "save_home" ]; then
<     save_home_for_skel
<     if [ $? -ne 0 ]; then
<         _log "Failed to save home directory"
<         exit 1
<     fi
< fi
---
> #do_themer &
> #xfce4-terminal -x sudo bash -c -x '/usr/local/sbin/9999-aerthos-bootpackages.bash || echo failed; sleep 60' | sudo logger -s
> #cat /proc/cmdline  | grep nodot || (git clone https://gitlab.com/aerth/dot ~/.local/dot)
> #mkdir -p ~/.config/aerthos
> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0