File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# This script runs when user install the debian package
4
4
5
+ # Link to the binary
6
+ ln -sf ' /opt/${productFilename}/${executable}' ' /usr/local/bin/${executable}' ;
7
+ echo ' Successfully added /opt/${productFilename}/${executable} to /usr/local/bin/${executable}'
8
+
5
9
# Install apt repository source list if it does not exist
6
10
if ! grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep zulip.list; then
7
11
sudo apt-key adv --keyserver pool.sks-keyservers.net --recv 69AD12704E71A4803DCA3A682424BE5AE9BD10D9
Original file line number Diff line number Diff line change @@ -28,4 +28,8 @@ appDirectory=/home/$getSudoUser/.config/Zulip/;
28
28
29
29
if [ -d $appDirectory ]; then
30
30
sudo rm -rf $appDirectory ;
31
- fi
31
+ fi
32
+
33
+ # Delete the link to the binary
34
+ echo ' Removing binary link'
35
+ sudo rm -f ' /usr/local/bin/${executable}' ;
You can’t perform that action at this time.
0 commit comments