sbin -> bin
Jes Olson j3s@c3f.net
Fri, 30 Sep 2022 18:39:12 -0500
M
README
→
README
@@ -38,8 +38,8 @@ -> quickstart (for linux)
# install zoa $ wget https://trash.j3s.sh/zoa - $ mv zoa /usr/local/sbin - $ chmod +x /usr/local/sbin/zoa + $ mv zoa /usr/local/bin + $ chmod +x /usr/local/bin/zoa # set up a zoa repo $ mkdir zoa $ cd zoa@@ -175,8 +175,8 @@ whatever interval you want.
installation process: wget https://j3s.sh/zoa/zoa # TODO - mv zoa /usr/local/sbin - chmod +x /usr/local/sbin/zoa + mv zoa /usr/local/bin + chmod +x /usr/local/bin/zoa to run zoa: zoa https://git.j3s.sh/j3s/config main@@ -212,7 +212,7 @@ displayed values are from my dev system
caveats are marked with * $PATH - the search path for binaries. this is hardcoded. - PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + PATH=/usr/local/bin:/usr/local/bin:/bin:/bin:/usr/bin:/usr/bin $ARCH - the name of the hardware type on which the system is running ARCH=x86_64
M
main.go
→
main.go
@@ -42,6 +42,7 @@ if err != nil {
log.Fatal(err) } + // TODO: replace remote binary if newer err = shell.SSH("command -v zoa", hosts) if err != nil { // Install Zoa@@ -53,9 +54,9 @@ err = shell.SSH("chmod +x zoa", hosts)
if err != nil { log.Fatal(err) } - err = shell.SSH("mv zoa /usr/local/sbin/", hosts) + err = shell.SSH("mv zoa /usr/local/bin/", hosts) if err != nil { - subErr := shell.SSH("sudo mv zoa /usr/local/sbin/", hosts) + subErr := shell.SSH("sudo mv zoa /usr/local/bin/", hosts) if subErr != nil { log.Fatal(err) }