ink-os/install-config

35 lines
730 B
Bash
Executable File

#!/bin/sh
#-----------------------------------
# Name: install-dmenu-inkletblot
# Version: 1.0.0
# Author: Solomon Laing
# Description:
# Installs my customisation of dmenu
#-----------------------------------
echo "This script is going to install dmenu-inkletblot, my fork of dmenu with my custom styling. As such it will ask for root privilages."
read -r -p "Are You Sure? [y/N] " input
case $input in
[yY][eE][sS] | [yY])
echo "The program will continue..."
;;
[nN][oO] | [nN])
exit 0
;;
*)
echo "Invalid input..."
exit 1
;;
esac
default_loc=/tmp/sudo-password
if [ ! -f "$default_loc" ] ; then
get-sudo-password
fi
cd dmenu-inkletblot
cat $default_loc | sudo -S make clean install