change behaviour to also update on apply
This commit is contained in:
parent
05595c2e14
commit
4d5e1112aa
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
super_apply() {
|
super_apply() {
|
||||||
|
pacman -Syyu
|
||||||
pacman -S --needed sudo reflector
|
pacman -S --needed sudo reflector
|
||||||
if ! grep -q "Reflector" /etc/pacman.d/mirrorlist; then
|
if ! grep -q "Reflector" /etc/pacman.d/mirrorlist; then
|
||||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
|
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
describe="Install stuff on the system!"
|
describe="Install stuff on the system!"
|
||||||
|
scripts="@distro @self"
|
||||||
|
|
||||||
super_apply() {
|
super_apply() {
|
||||||
cp files/sudoers /etc/sudoers
|
cp files/sudoers /etc/sudoers
|
||||||
|
|
Loading…
Reference in a new issue