dotfiles/compatibility/fedora.sh
2023-10-14 22:38:09 +02:00

12 lines
No EOL
325 B
Bash
Executable file

#!/bin/sh
export SUDO=sudo
export PM=dnf
export PM_INSTALL=install
export PM_NOCONFIRM=-y
$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
[ -f ./sync.sh ] && ./sync.sh $@ || (cd .. && ./sync.sh $@)