mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2026-04-21 06:03:42 +00:00
hide more text and try set -e
This commit is contained in:
parent
681720ad59
commit
b9ea7b8698
1 changed files with 5 additions and 3 deletions
8
init
8
init
|
|
@ -3,6 +3,8 @@
|
|||
# github.com/eoli3n
|
||||
# Thanks to CalimeroTeknik on #archlinux-fr, FFY00 on #archlinux-projects, JohnDoe2 on #regex
|
||||
|
||||
set -e
|
||||
|
||||
### Functions
|
||||
|
||||
print () {
|
||||
|
|
@ -38,8 +40,8 @@ EOF
|
|||
|
||||
print "Fetching archzfs signing keys"
|
||||
|
||||
pacman-key --recv-keys F75D9D76 2>/dev/null
|
||||
pacman-key --lsign-key F75D9D76 2>/dev/null
|
||||
pacman-key --recv-keys F75D9D76 &>/dev/null
|
||||
pacman-key --lsign-key F75D9D76 &>/dev/null
|
||||
pacman -Sy > /dev/null
|
||||
}
|
||||
|
||||
|
|
@ -170,7 +172,7 @@ then
|
|||
print "Installing zfs-utils"
|
||||
|
||||
# Install packages
|
||||
pacman -U "$zfs_utils_url" --noconfirm > /dev/null
|
||||
pacman -U "$zfs_utils_url" --noconfirm $> /dev/null
|
||||
pacman -U "$zfs_linux_package" --noconfirm > /dev/null && zfs=1
|
||||
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue