mirror of
https://github.com/Tooloop/Tooloop-Packages.git
synced 2026-04-27 20:41:37 +02:00
20 lines
454 B
Bash
Executable File
20 lines
454 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# move them to the repository
|
|
for archive in *; do
|
|
# if [ -d $folder ] && [ ${folder:0:1} != "#" ]; then
|
|
# mv $folder/*.deb /assets/packages
|
|
# fi
|
|
if [[ $archive =~ \.zip$ ]] && [ ${archive:0:1} != "#" ]; then
|
|
unzip -o $archive -d /assets/packages/
|
|
fi
|
|
done
|
|
|
|
# update local package repository
|
|
#/opt/tooloop/scripts/tooloop-update-packages
|
|
|
|
# list available packages
|
|
#apt list tooloop*
|
|
|
|
tree /assets/packages/
|