Skip to content

Commit

Permalink
monoCsharpForms: Fix install deps script with the wrong path
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Riesco <[email protected]>
  • Loading branch information
andreriesco committed May 17, 2024
1 parent 58d3230 commit 57abf82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions monoCsharpForms/.conf/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
"packages": [
"openssh-client",
"sshpass",
"msbuild",
"nuget"
],
"installDepsScripts": [
".conf/installDepsScripts/install-mono-devel.sh"
".conf/installDepsScripts/installMonoDevel.sh"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ if [ "$source" != "https://download.mono-project.com/repo/ubuntu" ]; then
sudo apt install ca-certificates gnupg -y

# Get and install mono signing key and repository
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF -y
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list

# Remove the mono-devel installation that doesn't come from the Microsoft source
sudo apt-get remove $package -y
Expand All @@ -30,4 +31,4 @@ fi
sudo apt update -y

# Install the mono-devel that come from the Microsoft source
sudo apt-get install $package -y
sudo apt-get install $package msbuild -y

0 comments on commit 57abf82

Please sign in to comment.