Skip to content

Commit

Permalink
fixed discord and spotify packages
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsousaa committed Feb 1, 2025
1 parent 7bb51d7 commit 62bb258
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
20 changes: 17 additions & 3 deletions config-fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ DNFVERSION="$(readlink $(which dnf))"
FC0=$(rpm -E %fedora)
FC1=$(($FC0 + 1))
#####################
### FIN VARIABLES ###
### END VARIABLES ###
#####################


#################
### FONCTIONS ###
### FUNCTIONS ###
#################

check_cmd()
Expand All @@ -24,7 +24,7 @@ if [[ $? -eq 0 ]]
then
echo -e "\033[32mOK\033[0m"
else
echo -e "\033[31mERREUR\033[0m"
echo -e "\033[31mERROR\033[0m"
fi
}

Expand Down Expand Up @@ -416,6 +416,20 @@ then
sed -e 's/\t//g' -i /etc/yum.repos.d/vivaldi.repo
fi

## MICROSOFT
if ! check_repo_file microsoft-prod.repo
then
echo -n "- - - Installation Microsoft Prod Repo : "
echo "[packages-microsoft-com-pro]
name=Microsoft Production
baseurl=https://packages.microsoft.com/rhel/9/prod/
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc" 2>/dev/null > /etc/yum.repos.d/microsoft-prod.repo
check_cmd
sed -e 's/\t//g' -i /etc/yum.repos.d/microsoft-prod.repo
fi

## FLATHUB
if [[ $(flatpak remotes | grep -c flathub) -ne 1 ]]
then
Expand Down
3 changes: 2 additions & 1 deletion flatpak.list
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# GUI : Internet
del:com.discordapp.Discord
add:com.discordapp.Discord
add:com.spotify.Client

# GUI : Utility
del:com.usebottles.bottles
Expand Down
1 change: 0 additions & 1 deletion packages.list
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ add:gqrx
add:epiphany
add:evolution
add:vivaldi-stable
add:discord

# GUI: Utilities
add:cool-retro-term
Expand Down

0 comments on commit 62bb258

Please sign in to comment.