-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from andreriesco/dev
Add the possibility to use scripts in deps.json, for check-deps
- Loading branch information
Showing
26 changed files
with
425 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
{ | ||
"packages": [ | ||
"openssh-client", | ||
"sshpass", | ||
"dotnet-sdk-6.0" | ||
"sshpass" | ||
], | ||
"installDepsScripts": [ | ||
".conf/installDepsScripts/installDotnetSDK8.sh" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
{ | ||
"packages": [ | ||
"openssh-client", | ||
"sshpass", | ||
"dotnet-sdk-8.0", | ||
"dotnet-sdk-7.0" | ||
"sshpass" | ||
], | ||
"installDepsScripts": [ | ||
".conf/installDepsScripts/installDotnetSDK7.sh", | ||
".conf/installDepsScripts/installDotnetSDK8.sh" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
{ | ||
"packages": [ | ||
"openssh-client", | ||
"sshpass", | ||
"dotnet-sdk-8.0" | ||
"sshpass" | ||
], | ||
"installDepsScripts": [ | ||
".conf/installDepsScripts/installDotnetSDK8.sh" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
{ | ||
"packages": [ | ||
"openssh-client", | ||
"sshpass", | ||
"dotnet-sdk-8.0" | ||
"sshpass" | ||
], | ||
"installDepsScripts": [ | ||
".conf/installDepsScripts/installDotnetSDK8.sh" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
{ | ||
"packages": [ | ||
"openssh-client", | ||
"sshpass", | ||
"dotnet-sdk-6.0" | ||
"sshpass" | ||
], | ||
"installDepsScripts": [ | ||
".conf/installDepsScripts/installDotnetSDK6.sh" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
monoCsharpForms/.conf/install-deps-scripts/install-mono-devel.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# This is a script to install .MOno on Ubuntu, based on the official Mono project recommended method of installation: | ||
# https://www.mono-project.com/download/stable/#download-lin | ||
|
||
package='mono-devel' | ||
|
||
|
||
# Get the source URL of the mono-devel package installed | ||
source=$(apt policy $package | awk '/ \*/{getline; print $2}') | ||
|
||
|
||
# Check if the dotnet-sdk installed package comes from the Microsoft source | ||
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 | ||
|
||
# Remove the mono-devel installation that doesn't come from the Microsoft source | ||
sudo apt-get remove $package -y | ||
|
||
sudo apt-get autoremove -y | ||
|
||
fi | ||
|
||
# Update packages | ||
sudo apt update -y | ||
|
||
# Install the mono-devel that come from the Microsoft source | ||
sudo apt-get install $package -y |
Oops, something went wrong.