Comment management code

This commit is contained in:
JeremyStar™ 2024-06-03 20:17:30 +02:00
parent 1ab599cb76
commit b3cce86725
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -7,9 +7,15 @@ Running `install.sh` or `uninstall.sh` will delete and change some things in you
These commands will remove some files and install software. These commands will remove some files and install software.
```bash ```bash
# Clone repository
git clone https://git.staropensource.de/JeremyStarTM/punktdateien.git "${HOME}/.dotfiles" git clone https://git.staropensource.de/JeremyStarTM/punktdateien.git "${HOME}/.dotfiles"
cd "${HOME}/.dotfiles" cd "${HOME}/.dotfiles"
# Install and link files
./install.sh ./install.sh
# Install software
# Append --gui to install GUI packages too
bin/install-software bin/install-software
``` ```
### Updating ### Updating
@ -23,20 +29,36 @@ dotfiles-updater
This will remove all installed files & directories and remove `~/.dotfiles` completely. This will remove all installed files & directories and remove `~/.dotfiles` completely.
```bash ```bash
# Unlink files
cd "${HOME}/.dotfiles" cd "${HOME}/.dotfiles"
env REMOVE_INSTALLBIT=true REMOVE_REPOSITORIES=true ./uninstall.sh env REMOVE_INSTALLBIT=true REMOVE_REPOSITORIES=true ./uninstall.sh
# Remove ~/.dotfiles
cd "${HOME}" cd "${HOME}"
rm -rf "${HOME}/.dotfiles" rm -rf ".dotfiles"
``` ```
### Repairing ### Repairing
This will *should* repair any issues you could have with this repository. This will *should* repair any issues you could have with this repository.
```bash ```bash
cd "${HOME}/.dotfiles" cd "${HOME}/.dotfiles
# Remove legacy links"
./uninstall.sh --remove-legacy-paths
./uninstall.sh --remove-unshared-bashrcd
# Unlink files
env REMOVE_INSTALLBIT=true REMOVE_REPOSITORIES=true ./uninstall.sh env REMOVE_INSTALLBIT=true REMOVE_REPOSITORIES=true ./uninstall.sh
# Link files
./install.sh ./install.sh
# Force update
"${HOME}/.local/bin/dotfiles-updater" --force "${HOME}/.local/bin/dotfiles-updater" --force
"${HOME}/.local/bin/dotfiles-install-software" # Note: Append --gui to this command if you are using the GUI stuff too
# Install required software
# Append --gui to install/update GUI packages too
"${HOME}/.local/bin/dotfiles-install-software"
``` ```
If you are still facing issues, open an issue. If you are still facing issues, open an issue.