mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Delete existing packages
This commit is contained in:
parent
57f965cc6e
commit
4efd957545
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
fshared="/mnt/Shared/bapkgs"
|
fshared="/mnt/Shared/bapkgs"
|
||||||
|
|
||||||
|
rm -f "$fshared"/*
|
||||||
if [ -z "$*" ]; then
|
if [ -z "$*" ]; then
|
||||||
for file in $(ls *.pkg.tar.xz); do $(sudo mv "$file" "$fshared"); done
|
for file in $(ls *.pkg.tar.xz); do $(sudo mv "$file" "$fshared"); done
|
||||||
exit
|
exit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue