From: Andre Ramnitz Date: Sat, 19 Apr 2025 22:31:07 +0000 (+0200) Subject: upgrayyedd: only 4 gentoo X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=c3d5f4feb4255c1d0751e84185fe6b8c07e2d619;p=dotfiles.git upgrayyedd: only 4 gentoo --- diff --git a/dot-local/bin/upgrayyedd b/dot-local/bin/upgrayyedd index 80599958..0bc25369 100755 --- a/dot-local/bin/upgrayyedd +++ b/dot-local/bin/upgrayyedd @@ -1,5 +1,8 @@ #!/bin/bash +#make sure we're running gentoo +test $(grep -e ^ID /etc/os-release | cut -f2 -d\=) = gentoo || exit + source /etc/portage/make.conf if [[ $(id -u) -ne 0 ]];