dotfiles/compatibility/fedora.sh

12 lines
325 B
Bash
Raw Normal View History

2023-10-14 22:38:08 +02:00
#!/bin/sh
export SUDO=sudo
export PM=dnf
export PM_INSTALL=install
export PM_NOCONFIRM=-y
2023-10-14 22:38:09 +02:00
$SUDO dnf update
[ "${NO_GRAPHICS:-no}" = "yes" ] || $SUDO $PM $PM_INSTALL $PM_NOCONFIRM libX11-devel libXft-devel libXinerama-devel libXrandr-devel xorg-x11-xinit-session
2023-10-14 22:38:08 +02:00
[ -f ./sync.sh ] && ./sync.sh $@ || (cd .. && ./sync.sh $@)