blob: 9a0ba7d84d053b6273356f0d98f47894fba4fe06 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
set -eu
set -x
REPO="$1/debian"
KEY="$(printf '%s' "${REPO#https://}" | sed 's|/|-|g').asc"
if command -v remembering; then
echo 'remembering(1) is already installed.' >&2
exit 1
fi
if apt info remembering; then
echo 'remembering(1) is already in apt(8) list.' >&2
exit 1
fi
wget -qO- "$REPO"/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/"$KEY"
echo "deb $REPO ./" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install remembering
remembering --help
remembering -V
|