scripts/lenny-up

10 lines
308 B
Plaintext
Raw Normal View History

2018-09-19 16:41:33 +00:00
#!/usr/bin/perl
# Get some updated software on Debian Lenny, especially `git`.
if (!-d "/opt/git") {
print "Fetching latest git\n";
system(qw(wget --no-check-certificate https://rpm.kirsle.net/static-bin/git/lenny/latest.tar.gz -O git-lenny.tar.gz));
system(qw(sudo tar -xzvf git-lenny.tar.gz -C /));
}