Bash repo/install Help

Grizzly Real_Grizz_Adams at yahoo.co.uk
Mon Mar 9 12:24:30 UTC 2020


Hi All

Have a (probably) Duh question, I have a number of lappies & deskies with 
various versions of ubuntu on from 16.04 thru 20.04 (daily) I (try) wine on all 
of them I would like to have a common bash script file to add the repo's then 
install Wine

In my mind that needs two parts

1) pick correct (wine) repo for this release version
2) if wine is already installed, update the correct wine (Devel, Staging  or 
Stable)

I thought #1 was simple (line may wrap in email)

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ 
$(lsb_release -c -s) main' 

but it does not work, checking the repo's shows "$(lsb_release -c -s)" where I 
wanted the actual short release name

So  someone point me in right direction for part one (once you stop laughing 
long enough '->)

part two can wait, unless someone knows how

Bash repo/install Help





More information about the ubuntu-users mailing list