Add a script for installing Cisco Packet Tracer
This commit is contained in:
parent
ca766b333a
commit
ce41080dd6
1 changed files with 11 additions and 0 deletions
11
scripts/install-packettracker.sh
Executable file
11
scripts/install-packettracker.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
contextRoot="$(mktemp -d)";
|
||||||
|
pushd "$contextRoot" > /dev/null;
|
||||||
|
git clone https://aur.archlinux.org/packettracer.git .
|
||||||
|
wget http://lectures.moucha.org/pt/CiscoPacketTracer_821_Ubuntu_64bit.deb;
|
||||||
|
makepkg -si;
|
||||||
|
sudo install --mode 644 *.desktop /usr/share/applications;
|
||||||
|
ls -al;
|
||||||
|
popd > /dev/null;
|
||||||
|
|
||||||
|
rm -rf "$contextRoot";
|
Loading…
Reference in a new issue