ST1Tutorials/scripts/install-packettracker.sh

12 lines
326 B
Bash
Raw Permalink Normal View History

#!/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";