aboutsummaryrefslogtreecommitdiff
path: root/update
diff options
context:
space:
mode:
authorLibravatar Waishnav <waishnavdeore@gmail.com>2022-07-19 20:17:43 +0530
committerLibravatar Waishnav <waishnavdeore@gmail.com>2022-07-19 20:17:43 +0530
commite30c4bdfcae8b0e826c7a8a100526fe95845a933 (patch)
tree5bff08c93679a6bcbd5e9dd03fe9f221e60edfa8 /update
parentdbf80bf782b60db15e964b42bbe0d800fdad7626 (diff)
downloadshopno-os-log-sync-e30c4bdfcae8b0e826c7a8a100526fe95845a933.tar.gz
shopno-os-log-sync-e30c4bdfcae8b0e826c7a8a100526fe95845a933.zip
Adding option of custom date and custom week to get users usage
Diffstat (limited to 'update')
-rwxr-xr-xupdate7
1 files changed, 7 insertions, 0 deletions
diff --git a/update b/update
new file mode 100755
index 0000000..d932630
--- /dev/null
+++ b/update
@@ -0,0 +1,7 @@
+#!/bin/bash
+sudo rm -rf /usr/share/Watcher/*
+sudo cp -r ./src/Watcher/* /usr/share/Watcher/
+
+sudo cp -r ./src/bin/watcher /usr/local/bin/
+sudo chmod +x /usr/local/bin/watcher
+echo "[✔] Updating Finished."