Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*~
*.deb
23 changes: 22 additions & 1 deletion mpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ NAME_PPA_PAPIRUS="PPA-Papirus"
NAME_EXT_RUST="Rust-Lang"
NAME_EXT_NODE="Node.js"
NAME_EXT_DOCKER="Docker"
NAME_EXT_GITKRAKEN="Gitkraken"
NAME_SCRIPT_UPDATE="Update-Script"
NAME_SCRIPT_KERNEL="Kernel-Script"

Expand Down Expand Up @@ -249,7 +250,7 @@ function install_ext_node()
{
echo -e "\nInstalling Node.js"
sudo apt update && sudo apt install -y curl
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt install -y nodejs
echo "Node.js insalled"
}
Expand Down Expand Up @@ -306,6 +307,22 @@ function install_ext_docker()
echo "Docker installed"
}

##
# External: Gitkraken installation.
##
function install_ext_gitkraken()
{
echo -e "\nInstalling Gitkraken"
sudo apt update && sudo apt install -y curl
curl -sL -o gitkraken.deb https://release.gitkraken.com/linux/gitkraken-amd64.deb | sudo -E bash -
# using dpkg to force install gitkraken over older versions
sudo dpkg -i gitkraken.deb
echo "Gitkraken insalled"
}




## Warning msg on start
if [ $DIST_N == "Ubuntu" ]
then
Expand Down Expand Up @@ -336,6 +353,7 @@ $NAME_PPA_PAPIRUS " - Papirus icon Theme" OFF \
$NAME_EXT_RUST " - Install Rust Language" OFF \
$NAME_EXT_NODE " - Install Node.js" OFF \
$NAME_EXT_DOCKER " - Install Docker" OFF \
$NAME_EXT_GITKRAKEN " - Install Gitkraken" OFF \
$NAME_SCRIPT_UPDATE " - A system update script" OFF \
$NAME_SCRIPT_KERNEL " - A script to remove unused kernels " OFF \
3>&1 1>&2 2>&3)
Expand Down Expand Up @@ -427,6 +445,9 @@ if [ $exitstatus = 0 ]; then
case "${DISTROS[@]}" in *$NAME_EXT_DOCKER*)
install_ext_docker ;; esac

case "${DISTROS[@]}" in *$NAME_EXT_GITKRAKEN*)
install_ext_gitkraken ;; esac

else
echo "Package installation aborted."
fi