fix mistakes and remove vesktop
* fix dnf enable docker lol * accidentally committed restore.sh being commented out temporarily * remove vesktop (obviously)
This commit is contained in:
parent
0e60a8fe0d
commit
7d072df618
3 changed files with 1 additions and 27 deletions
|
@ -18,7 +18,6 @@ chmod 700 ./*.bash
|
|||
./install-vs-code.bash
|
||||
./install-fonts.bash
|
||||
./install-yt-music.bash
|
||||
./install-vesktop.bash
|
||||
./install-swayfx.bash
|
||||
./install-podman.sh
|
||||
cd ..
|
||||
|
@ -27,7 +26,7 @@ cd ./dotfiles
|
|||
chmod 700 run-distro-de-script.sh
|
||||
./run-distro-de-script.sh
|
||||
chmod 700 restore.sh
|
||||
#./restore.sh
|
||||
./restore.sh
|
||||
cd ..
|
||||
|
||||
./device-specific.sh
|
||||
|
|
|
@ -10,7 +10,6 @@ if command_exists "dnf"; then
|
|||
sudo dnf remove podman podman-docker -y
|
||||
sudo dnf config-manager addrepo --from-repofile https://download.docker.com/linux/fedora/docker-ce.repo
|
||||
sudo dnf install docker-ce{,-cli,-rootless-extras}
|
||||
sudo dnf enable --now docker
|
||||
|
||||
# rootless
|
||||
sudo dnf install fuse-overlayfs
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
if [ $(whoami) == "root" ]; then
|
||||
echo "Run as a normal user, not root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
command_exists() { type "$1" &>/dev/null; }
|
||||
|
||||
if command_exists "apt-get"; then
|
||||
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "vesktop_.*_amd64.deb" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
|
||||
sudo apt-get install ./vesktop_*.deb -y
|
||||
elif command_exists "dnf"; then
|
||||
sudo dnf install $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*vesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
|
||||
elif command_exists "rpm-ostree"; then
|
||||
rpm-ostree install $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*vesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
|
||||
elif command_exists "yay"; then
|
||||
yay -S vesktop-bin --noconfirm --needed
|
||||
elif command_exists "xbps-install"; then
|
||||
cd ~/Applications
|
||||
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*Vesktop-.*.AppImage" | tail --lines 1 | cut -d : -f 2,3 | tr -d \")
|
||||
cd -
|
||||
else
|
||||
echo "IDK, check the repo: https://github.com/Vencord/Vesktop"
|
||||
fi
|
Loading…
Add table
Reference in a new issue