diff --git a/scripts/install-packettracker.sh b/scripts/install-packettracker.sh new file mode 100755 index 0000000..7f0875d --- /dev/null +++ b/scripts/install-packettracker.sh @@ -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";