aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2019-03-05 11:10:17 +0100
committerSlack Coder <slackcoder@server.ky>2019-03-05 11:11:09 +0100
commitef8b0ad6b10dafc979df34fb65e06e22c1130ee9 (patch)
treeac6154b37a70c9bbeb06a3b92dbb546ec4188a59
parent280ab71ae8871f7a99d86ee7f5de02c8ee62f9ef (diff)
downloadslackware.com-client-ef8b0ad6b10dafc979df34fb65e06e22c1130ee9.tar.xz
rename command -> slackware.com
-rw-r--r--README.md20
-rwxr-xr-xslackware.com (renamed from not-slackware.com)0
2 files changed, 10 insertions, 10 deletions
diff --git a/README.md b/README.md
index caf8894..bed098b 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-not-slackware.com
+slackware.com
=================
A minimalistic tool for interfacing with Slackware's mirrors and website from the command line.
@@ -8,7 +8,7 @@ Locally, I rename this to slackware.com. Use this tool at your own risk.
Note: Currently this project is pre-release and may be vulnerable to downgrade attacks.
```
- not-slackware.com [command]
+ slackware.com [command]
changelog
- show changes described in the Changelog since the last update
@@ -40,7 +40,7 @@ Examples
Download all updates:
```
-not-slackware.com updates | xargs not-slackware.com download
+slackware.com updates | xargs slackware.com download
```
Cron script to download updates and email changes to root:
@@ -52,22 +52,22 @@ export QUIET=true
export SLACKWARE_MIRROR=https://download.dlackware.com/slackware/slackware-current/
export PATH=$PATH:/usr/local/sbin
-not-slackware.com sync
-TO_UPDATE="$(not-slackware.com updates)"
+slackware.com sync
+TO_UPDATE="$(slackware.com updates)"
if [ -n "$TO_UPDATE" ]; then
- not-slackware.com updates | xargs not-slackware.com download
- not-slackware.com changelog | mail -s "updates" root
+ slackware.com updates | xargs slackware.com download
+ slackware.com changelog | mail -s "updates" root
fi
```
Installation
------------
-Download the not-slackware.com script, and copy it to /usr/local/sbin:
+Download the slackware.com script, and copy it to /usr/local/sbin:
```
-chmd +x not-slackware.com
-mv not-slackware.com /usr/local/sbin
+chmd +x slackware.com
+mv slackware.com /usr/local/sbin
```
Import Slackware's GPG key for the user running the tool:
diff --git a/not-slackware.com b/slackware.com
index 8c4ba65..8c4ba65 100755
--- a/not-slackware.com
+++ b/slackware.com