This repository has been archived by the owner on May 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
103 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/bin/make -f | ||
|
||
DESTDIR ?= / | ||
|
||
all: install | ||
|
||
install: | ||
# Alerts Data | ||
install -d dist/alerts.json $(DESTDIR)/var/lib/antergos-alerts/alerts.json | ||
|
||
# ALPM Hook | ||
install -d dist/antergos-alerts.hook $(DESTDIR)/usr/share/libalpm/hooks/antergos-alerts.hook | ||
|
||
# Logo for desktop notification | ||
install -d dist/logo-square32.png $(DESTDIR)/usr/share/antergos/logo-square32.png | ||
|
||
# Antergos Alerts | ||
install -dm755 src/antergos-alerts.py $(DESTDIR)/usr/bin/antergos-alerts | ||
|
||
# Utility script for desktop notifications | ||
install -dm755 src/antergos-notify.sh $(DESTDIR)/usr/bin/antergos-notify | ||
|
||
uninstall: | ||
# Alerts Data | ||
rm -f $(DESTDIR)/var/lib/antergos-alerts/alerts.json | ||
|
||
# ALPM Hook | ||
rm -f $(DESTDIR)/usr/share/libalpm/hooks/antergos-alerts.hook | ||
|
||
# Logo for desktop notification | ||
rm -f $(DESTDIR)/usr/share/antergos/logo-square32.png | ||
|
||
# Antergos Alerts | ||
rm -f $(DESTDIR)/usr/bin/antergos-alerts | ||
|
||
# Utility script for desktop notifications | ||
rm -f $(DESTDIR)/usr/bin/antergos-notify | ||
|
||
|
||
.PHONY: all install uninstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"20170623": "weak-password-hashes" | ||
"20170625": "cnchi-installer-weak-password-hashes" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters