aboutsummaryrefslogtreecommitdiffstats
path: root/initcpio
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-04-28 23:33:33 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-04-28 23:33:33 +0200
commitde7aafeafa97283b1d66c8f6d3464350dfc23d93 (patch)
tree6f52e226ac6594e4def19035dd7bb96b4c2c8f67 /initcpio
parent24ab5936629e735ff551f060a894fd93ad91470e (diff)
parente73f944a7151e89c514e324657e9480f1008b1c9 (diff)
downloadpacredir-de7aafeafa97283b1d66c8f6d3464350dfc23d93.tar.gz
pacredir-de7aafeafa97283b1d66c8f6d3464350dfc23d93.tar.zst
Merge branch 'pacredir'
Diffstat (limited to 'initcpio')
-rw-r--r--initcpio/hooks/pacredir (renamed from initcpio/hooks/paccache)0
-rw-r--r--initcpio/install/paccache9
-rw-r--r--initcpio/install/pacredir11
3 files changed, 11 insertions, 9 deletions
diff --git a/initcpio/hooks/paccache b/initcpio/hooks/pacredir
index 5f8d560..5f8d560 100644
--- a/initcpio/hooks/paccache
+++ b/initcpio/hooks/pacredir
diff --git a/initcpio/install/paccache b/initcpio/install/paccache
deleted file mode 100644
index 1cb06a4..0000000
--- a/initcpio/install/paccache
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-build() {
- add_runscript
-}
-
-help() {
- echo "This hook adds Server to pacredir.conf from inside initramfs."
-}
diff --git a/initcpio/install/pacredir b/initcpio/install/pacredir
new file mode 100644
index 0000000..f9663af
--- /dev/null
+++ b/initcpio/install/pacredir
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+build() {
+ add_runscript
+}
+
+help() {
+ echo 'This hook adds servers to pacredir.conf from inside initramfs.'
+ echo 'Useless for installed systems, but can be handy with'
+ echo 'no-persistent configurations.'
+}