Skip to content

Instantly share code, notes, and snippets.

@KingsleyOmon-Edo
KingsleyOmon-Edo / fedora-27-post-install.sh
Created November 16, 2017 07:05
A post installation script for fedora 27
#!/bin/bash
curl_check ()
{
echo "Checking for curl..."
if command -v curl > /dev/null; then
echo "Detected curl..."
else
echo "Installing curl..."
dnf install -y curl
@KingsleyOmon-Edo
KingsleyOmon-Edo / post_install.sh
Created October 23, 2017 23:43 — forked from waleedahmad/post_install.sh
Ubuntu post installation script for installing software of your choice.
#!/bin/bash
curl_check ()
{
echo "Checking for curl..."
if command -v curl > /dev/null; then
echo "Detected curl..."
else
echo "Installing curl..."
apt-get install -q -y curl