aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Lisina <sekoohaka.sarisan@gmail.com>2025-05-28 16:18:41 +0500
committerMaria Lisina <sekoohaka.sarisan@gmail.com>2025-05-28 16:18:41 +0500
commit0c41f51fb11b82e4678e7b07f36ed97680b7aafa (patch)
tree89622e6f3af97436c75462e83e84a87e0b3dd09e
parent9d7b4aa1413cdbb0b8d6587d994d3f33c15a0362 (diff)
units/dump: Move file instead of copying it
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
-rw-r--r--README.md1
-rwxr-xr-xbot.zsh2
-rw-r--r--units/dump.zsh2
3 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index 51e9362..b5887f4 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,6 @@ For distribution specific installation commands follow [command-not-found](https
### BusyBox functions
* base64
-* cp
* cut
* find
* grep
diff --git a/bot.zsh b/bot.zsh
index afa10a1..c1cc10a 100755
--- a/bot.zsh
+++ b/bot.zsh
@@ -166,7 +166,7 @@ then
exit 1
fi
-for function in base64 cp cut find grep ls sed sort sha1sum sleep tr
+for function in base64 cut find grep ls sed sort sha1sum sleep tr
do
if busybox ${function} --help > /dev/null
then
diff --git a/units/dump.zsh b/units/dump.zsh
index 45d61c3..10b7475 100644
--- a/units/dump.zsh
+++ b/units/dump.zsh
@@ -21,7 +21,7 @@ do
if [[ -f "${cache}/${dump_file}" ]]
then
- cp "${cache}/${dump_file}" "${dumps}/${update_id}"
+ mv "${cache}/${dump_file}" "${dumps}/${update_id}"
fi
rmdir "${cache}/${dump_file%.*}.lock"