bash-stuff/install-local-mydebs-repo.sh

11 lines
437 B
Bash
Raw Permalink Normal View History

2024-08-17 20:52:34 +01:00
#!/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/;
sudo cp -f local-sbin/update-mydebs /usr/local/sbin/update-mydebs;
sudo local-sbin/update-mydebs;
2024-08-17 20:52:34 +01:00
echo "[+] Finished installing mydebs repo!";
echo "[i] Install local packages to /usr/local/mydebs/";
2024-08-17 20:52:34 +01:00
echo "[i] Use update-mydebs to refresh the stored packages in /usr/local/mydebs/";
exit 0;