first commit
This commit is contained in:
17
data/rc/pacman-init.in
Executable file
17
data/rc/pacman-init.in
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/openrc-run
|
||||
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="Pacman initialization script"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
need haveged gnupg-mount
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Running pacman initialization"
|
||||
/usr/bin/pacman-key --init &> /dev/null
|
||||
/usr/bin/pacman-key --populate archlinux manjaro &> /dev/null
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user