2023-03-14 11:12:16 +01:00
|
|
|
all:
|
|
|
|
install
|
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p /usr/local/share/man/man1
|
|
|
|
cp -R backup.sh /usr/local/bin/backup.sh
|
2023-03-16 11:43:14 +01:00
|
|
|
cp -R sources.bk /usr/local/etc/sources.bk
|
2023-03-14 11:12:16 +01:00
|
|
|
cp -R backup.sh.1 /usr/local/share/man/man1/backup.sh.1
|
|
|
|
chmod 755 /usr/local/bin/backup.sh
|
2023-03-16 11:44:41 +01:00
|
|
|
chmod 644 /usr/local/etc/sources.bk
|
2023-03-14 11:12:16 +01:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm -rf /usr/local/bin/backup.sh
|
2023-03-16 11:43:14 +01:00
|
|
|
rm -ff /usr/local/etc/sources.bk
|
2023-03-14 11:12:16 +01:00
|
|
|
rm -rf /usr/local/share/man/man1/backup.sh.1
|