From 0c45860c5ca491b8d73f1f58e0828f4d93594484 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Sat, 17 Aug 2024 20:52:34 +0100 Subject: [PATCH] Add local repo installation. --- a-mydebs-local-repo.list | 1 + install-local-mydebs-repo.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 a-mydebs-local-repo.list create mode 100755 install-local-mydebs-repo.sh diff --git a/a-mydebs-local-repo.list b/a-mydebs-local-repo.list new file mode 100644 index 0000000..45d18d6 --- /dev/null +++ b/a-mydebs-local-repo.list @@ -0,0 +1 @@ +deb [trusted=yes] file:/usr/local/mydebs ./ diff --git a/install-local-mydebs-repo.sh b/install-local-mydebs-repo.sh new file mode 100755 index 0000000..f709316 --- /dev/null +++ b/install-local-mydebs-repo.sh @@ -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/";