Add local repo installation.

This commit is contained in:
Captain ALM 2024-08-17 20:52:34 +01:00
parent 52bbfa007f
commit 0c45860c5c
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
2 changed files with 7 additions and 0 deletions

1
a-mydebs-local-repo.list Normal file
View File

@ -0,0 +1 @@
deb [trusted=yes] file:/usr/local/mydebs ./

6
install-local-mydebs-repo.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
echo "[+] Installing mydebs repo...";
sudo mkdir -p /usr/local/mydebs/;
sudo cp -f a-mydebs-local-repo.list /etc/apt/sources.list.d/;
echo "[+] Finished installing mydebs repo!";
echo "[i] Use update-mydebs to refresh the stored packages in /usr/local/mydebs/";