fix various things, format scripts
This commit is contained in:
parent
f5f010edd6
commit
2650eff42d
11 changed files with 19 additions and 16 deletions
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [ $(whoami) == "root" ]; then
|
||||
echo "Run as a normal user, not root"
|
||||
exit 1
|
||||
|
@ -23,8 +22,8 @@ elif command_exists "pacman"; then
|
|||
cd $WD
|
||||
rm -rf yay
|
||||
yay -S noto-fonts-emoji --noconfirm --needed
|
||||
sudo mkdir /usr/share/fonts/meslolgs
|
||||
yay -S ttf-meslo-nerd-font-powerlevel10k --noconfirm --needed
|
||||
#sudo mkdir /usr/share/fonts/meslolgs
|
||||
#yay -S ttf-meslo-nerd-font-powerlevel10k --noconfirm --needed
|
||||
elif command_exists "zypp"; then
|
||||
echo "not yet implemented"
|
||||
elif command_exists "emerge"; then
|
||||
|
@ -35,9 +34,11 @@ elif command_exists "xbps-install"; then
|
|||
sudo xbps-install NetworkManager dbus polkit polkit-gnome nano noto-fonts-emoji noto-fonts-cjk python3 python3-pip
|
||||
mkdir ~/Applications
|
||||
cd ~/Applications
|
||||
curl -LO $(curl -s https://api.github.com/repos/TheAssassin/AppImageLauncher/releases/latest | grep "browser_download_url.*appimagelauncher_.*-x86_64.AppImage" | cut -d : -f 2,3 | tr -d \") -C -
|
||||
curl -LO $(curl -s https://api.github.com/repos/TheAssassin/AppImageLauncher/releases/latest | grep "browser_download_url.*appimagelauncher-lite.*-x86_64.AppImage" | cut -d : -f 2,3 | tr -d \") -C -
|
||||
chmod +x appimagelauncher-lite*-x86_64.AppImage
|
||||
cd -
|
||||
echo "AppImageLauncher is in ~/Applications, deal with it yourself or update this script"
|
||||
sudo xbps-install void-repo-multilib void-repo-nonfree
|
||||
else
|
||||
echo "Unsupported: unknown package manager and distro"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue