From c5ab481b2ec1ee379b436eb01733227c2f923ed2 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 26 Apr 2022 20:21:47 +0200 Subject: These have been deleted for long --- vps-do.pl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/vps-do.pl b/vps-do.pl index 37b6eb6..3ae5205 100755 --- a/vps-do.pl +++ b/vps-do.pl @@ -28,14 +28,6 @@ sub main { ) { $called_script = SCRIPTS_DIR . 'gitjoe/' . $ARGV[0] . '.pl'; } - elsif ( - $ARGV[0] eq "update-gitjoe" || - $ARGV[0] eq "update-vps" - ) { - my $word = $ARGV[0]; - $word =~ s/update-//; - $called_script = SCRIPTS_DIR . 'update/' . $word . '.pl'; - } else { print colored("Failed!\n", 'bold red') . colored($ARGV[0], 'bold yellow') @@ -48,8 +40,6 @@ sub main { . colored("newrepo\n", 'bold green') . colored("rmrepo\n", 'bold green') . colored("rmuser\n", 'bold green') - . colored("update-gitjoe\n", 'bold green') - . colored("update-vps\n", 'bold green'); exit 2; } print "Calling " . colored($called_script, 'bold green') . " via " . colored(SSH_BOY, 'bold magenta') . ".\n"; -- cgit v1.2.3