diff options
author | sbiego | 2019-04-01 01:51:54 +0200 |
---|---|---|
committer | sbiego | 2019-04-01 01:51:54 +0200 |
commit | e2c5512bcdb6c161d1b99f313cb5ed59697ba780 (patch) | |
tree | 3f0388c01461b64be7a76d59ef5fb68f7e892c40 | |
parent | dcd99377f9ca0364bc4a8f5ec9434683828deb1d (diff) | |
download | aur-e2c5512bcdb6c161d1b99f313cb5ed59697ba780.tar.gz |
post install message
-rw-r--r-- | iblu-git.install | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/iblu-git.install b/iblu-git.install index 1d3f03aa9bc8..aa4be948ec0e 100644 --- a/iblu-git.install +++ b/iblu-git.install @@ -1,19 +1,19 @@ post_install() { - # echo "\nIBLU is ALMOST INSTALLED! \nPlease run the following commands:\n\n\t # iblu UNIT > /usr/lib/systemd/system/iblu.service \t#creates the systemd unit file \n\t # systemctl start iblu.service \t\t\t\t#starting the service\n\t # systemctl enable iblu.service \t\t\t\t#enabling the service\n" - - echo "Almost done!Now you just need to create a systemd service, start and enable it..." - read -p "Do you want to do it now (y/n)?" choice - case "$choice" in - y|Y ) iblu UNIT > /usr/lib/systemd/system/iblu.service; systemctl start iblu.service; systemctl enable iblu.service;; - n|N ) echo "You can always to it running the following commands:\n\n\t # iblu UNIT > /usr/lib/systemd/system/iblu.service \t#creates the systemd unit file \n\t # systemctl start iblu.service \t\t\t\t#starting the service\n\t # systemctl enable iblu.service \t\t\t\t#enabling the service\n";; - * ) echo "invalid";; - esac + + ### UNCOMMENT the following lines to CREATE and ENABLE the systemd unit + # it's MANDATORY execute those to run iblu + # iblu UNIT > /usr/lib/systemd/system/iblu.service; #creates the systemd unit file + # systemctl start iblu.service; #enabling the service + # systemctl enable iblu.service; #enabling the service + + + echo "\nIBLU is ALMOST INSTALLED! \nPlease run the following commands:\n\n\t # iblu UNIT > /usr/lib/systemd/system/iblu.service \t#creates the systemd unit file \n\t # systemctl start iblu.service \t\t\t\t#starting the service\n\t # systemctl enable iblu.service \t\t\t\t#enabling the service\n" } -### UNCOMMENT the following lines to CREATE and ENABLE the systemd unit -# it's MANDATORY execute those to run iblu - -# iblu UNIT > /usr/lib/systemd/system/iblu.service; #creates the systemd unit file -# systemctl start iblu.service; #enabling the service -# systemctl enable iblu.service; #enabling the service
\ No newline at end of file +# read -p "Do you want to do it now (y/n)?" choice +# case "$choice" in +# y|Y ) iblu UNIT > /usr/lib/systemd/system/iblu.service; systemctl start iblu.service; systemctl enable iblu.service;; +# n|N ) echo "You can always to it running the following commands:\n\n\t # iblu UNIT > /usr/lib/systemd/system/iblu.service \t#creates the systemd unit file \n\t # systemctl start iblu.service \t\t\t\t#starting the service\n\t # systemctl enable iblu.service \t\t\t\t#enabling the service\n";; +# * ) echo "invalid";; +# esac
\ No newline at end of file |