1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-03-30 07:05:17 +00:00

simplified installation

This commit is contained in:
Nebel 2025-03-26 11:19:03 +09:00
parent d0ec37d119
commit f9d6a2675c
Signed by: nebel
GPG key ID: 79807D08C6EF6460
3 changed files with 2 additions and 13 deletions

View file

@ -6,12 +6,6 @@
## Installing Packages
```sh
sudo ./install
```
or
```sh
sudo ./install desktop
```

View file

@ -39,9 +39,7 @@ function install_environment_d() {
)
}
(($(id -u) == 0)) &&
[[ -f /etc/debian_version ]] &&
install_apt_packages
(($(id -u) == 0)) && install_apt_packages
install_gsettings settings.ini /
install_gsettings terminal-settings.ini "/org/gnome/terminal/legacy/profiles:/:$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \')/"
install_fonts

View file

@ -2,9 +2,6 @@
set -euo pipefail
cd -- "$(dirname -- "$0")"
. mod.bash
if (($(id -u) == 0)); then
[[ -f /etc/debian_version ]] \
&& install_apt_packages
fi
(($(id -u) == 0)) && install_apt_packages
install_dotfiles
install_addons "$@"