From a7ff9544bc8cf4b8299fc01602409be59a9e0108 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Wed, 7 Dec 2016 03:37:33 -0800 Subject: [PATCH] Remove a2server-update/a2server-setup aliases The replacement update mechanism will be a script installed on your system. The advantage of downloading the update mechanism before running it is that it allows you to upgrade the upgrade mechanism. Naturally the disadvantage is that you have to download it. Debian systems have a mechanism for this; we'll use it. --- scripts/tools/a2server-aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tools/a2server-aliases b/scripts/tools/a2server-aliases index 9b124e6..c778627 100755 --- a/scripts/tools/a2server-aliases +++ b/scripts/tools/a2server-aliases @@ -2,10 +2,10 @@ # vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh: alias a2server-help="more /usr/local/etc/a2server-help.txt" -alias a2server-setup='wget -q -O /tmp/a2server-setup ${A2SERVER_SCRIPT_URL:-https://raw.githubusercontent.com/RasppleII/a2server/current/}setup/index.txt || { echo "Can'"'"'t download A2SERVER setup scripts. Do you has internet?"; false; } && source /tmp/a2server-setup' + alias a2server-version="cat /usr/local/etc/A2SERVER-version" -alias a2server-update='wget -q -O /tmp/a2server-update ${A2SERVER_SCRIPT_URL:-https://raw.githubusercontent.com/RasppleII/a2server/current/}update/index.txt || { echo "Can'"'"'t download A2SERVER setup scripts. Do you has internet?"; false; } && source /tmp/a2server-update' + alias system-shutdown='sudo shutdown -h now' alias system-restart='sudo shutdown -r now'