-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstall_PulseVPN.sh
More file actions
39 lines (26 loc) · 903 Bytes
/
Copy pathInstall_PulseVPN.sh
File metadata and controls
39 lines (26 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#! /bin/bash
package=ps-pulse-linux-5.2r6.0-b977-ubuntu-debian-installer.deb
link=https://as.exeter.ac.uk/media/level1/academicserviceswebsite/it/documents/networks/vpn/$package
echo "** ROOT PASSWORD **"
sudo apt-get -y install wget > /dev/null
echo "** Downloading DEB file **"
wget $link -q --show-progress
status1=$?
if [ $status1 -eq 0 ]
then
yes | sudo dpkg -i $package > /dev/null
else
echo "** Download Failed **"
exit
fi
echo "** Installing prerequisites **"
sudo apt-get -y install lib32z1 libc6-i386 libwebkitgtk-1.0-0:i386 libproxy1v5:i386 libproxy1-plugin-gsettings:i386 libproxy1-plugin-webkit:i386 libdconf1:i386 dconf-gsettings-backend:i386
echo "** Verify and Cleanup **"
apt-cache search --names-only '^pulse$' > search
if [ $search != ""]
then
sudo apt-get autoremove > /dev/null
sudo rm -R $package*
echo "** INSTALL FINISHED **"
fi
exit