Skip to content

Commit

Permalink
added check for eselect-python since it's slowly going away
Browse files Browse the repository at this point in the history
  • Loading branch information
alicela1n committed Aug 5, 2021
1 parent 870f9ca commit 913a968
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gentoo-update
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# kernel modules! I use this script to upgrade my daily Gentoo system, if anything
# goes wrong feel free to contact me, or open a GitHub issue!
#
# Copyright (c) 2020-2021 quarkyalice (devfusediboot@protonmail.com)
# Copyright (c) 2020-2021 quarkyalice (quarkyalice@disroot.org)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -180,7 +180,9 @@ update_old_perl_modules() {

clean_python_config() {
# Remove uninstalled versions of python from /etc/python-exec/python-exec.conf
eselect python cleanup
if [ -f /usr/share/eselect/modules/python.eselect ]; then
eselect python cleanup
fi
}

build_kernel() {
Expand Down

0 comments on commit 913a968

Please sign in to comment.