Can’t I go one week without having to uninstall and reinstall the damn deb file?

  • SeeMinusMinus@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 year ago

    I just tried opening discord a minute ago and got that lmao. Since I am on fedora I can’t use the deb file. Often pointing around on my system I found where all the discord files are and I made a script that downloads the discord .tar.gz file and moves all the files to the right places. Every time I get the prompt I run the script and it updates discord for me (:

    #! /usr/bin/sh
    
    wget -O discord.tar.gz "https://discord.com/api/download/stable?platform=linux&format=tar.gz"
    tar -xvf discord.tar.gz
    rm -rf discord.tar.gz
    sudo rm -rf /lib64/discord
    sudo mv Discord /lib64/discord