Krolyxon
Auto
Light
Dark
Summary
Tree
Log
Refs
Find
Commit
86f9548
Branches
master
Refs →
jcal
/
install.sh
12 lines · 273 B · Bourne Again Shell (bash)
Raw
Blame
History
Download
1
#!/bin/sh
2
3
if
[[
$
*
=
"-u"
]]
then
4
echo
"Uninstalling jcal"
5
echo
"removing: /usr/bin/jcal.jar"
6
echo
"removing: /usr/bin/jcal"
7
sudo rm /usr/bin/jcal.jar /usr/bin/jcal
8
else
9
./build.sh
10
sudo cp ./release/
*
.jar /usr/bin/
11
sudo cp ./jcal /usr/bin/
12
fi