mirror of
https://github.com/wmutschl/timeshift-autosnap-apt.git
synced 2026-03-04 13:05:01 +08:00
Added Makefile
This commit is contained in:
8
Makefile
Normal file
8
Makefile
Normal file
@@ -0,0 +1,8 @@
|
||||
PKGNAME ?= timeshift-autosnap-apt
|
||||
|
||||
.PHONY: install
|
||||
|
||||
install:
|
||||
@install -Dm644 -t "$(DESTDIR)/etc/apt/apt.conf.d/" 80-timeshift-autosnap-apt
|
||||
@install -Dm755 -t "$(DESTDIR)/usr/bin/" timeshift-autosnap-apt
|
||||
@install -Dm644 -t "$(LIB_DIR)/etc/" timeshift-autosnap-apt.conf
|
||||
@@ -30,12 +30,7 @@ Clone this repository and run the following commands to copy the hook, bash scri
|
||||
```bash
|
||||
git clone https://github.com/wmutschl/timeshift-autosnap-apt.git
|
||||
cd timeshift-autosnap-apt
|
||||
sudo cp 80-timeshift-autosnap-apt /etc/apt/apt.conf.d/80-timeshift-autosnap-apt
|
||||
sudo chmod 644 /etc/apt/apt.conf.d/80-timeshift-autosnap-apt
|
||||
sudo cp timeshift-autosnap-apt /usr/bin/timeshift-autosnap-apt
|
||||
sudo chmod 755 /usr/bin/timeshift-autosnap-apt
|
||||
sudo cp timeshift-autosnap-apt.conf /etc/timeshift-autosnap-apt.conf
|
||||
sudo chmod 644 /etc/timeshift-autosnap-apt.conf
|
||||
sudo make install
|
||||
```
|
||||
After this, optionally, make changes to the configuration file:
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user