mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 18:20:13 +01:00
changes
This commit is contained in:
parent
dd5070b374
commit
7ca471bffd
@ -145,14 +145,8 @@ else
|
||||
sudo sed -i '0,/^#deb-src/ s/^#//' "$sources_list"
|
||||
fi
|
||||
|
||||
# Check if any lines starting with "deb" exist
|
||||
if grep -q "^deb" "$sources_list"; then
|
||||
echo "Found lines starting with 'deb' in $sources_list."
|
||||
else
|
||||
# Remove the '#' from lines starting with '#deb'
|
||||
echo "No lines starting with 'deb' found in $sources_list. Removing '#' from lines starting with '# deb'..."
|
||||
sudo sed -i '/^#deb/ s/^# //' "$sources_list"
|
||||
fi
|
||||
|
||||
sudo apt update
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user