2
0
mirror of https://codeberg.org/kiss-community/repo synced 2025-01-29 19:07:56 -07:00

puke: Remove all shellcheck exemptions

This commit is contained in:
Dylan Araps 2019-05-13 19:00:10 +03:00
parent a8e8ee5a91
commit 944611d491

5
puke
View File

@ -1,5 +1,4 @@
#!/bin/sh
# shellcheck disable=2094,2103,2181,2188 source=/dev/null
#
# puke - package manager for kiss linux.
@ -28,8 +27,8 @@ pkg_setup() {
[ -f sources ] || die "Sources file not found."
[ -x build ] || die "Build file not found or not executable."
read -r version release < version || die "Version file not found."
pkg=${name:=$1}\#$version-$release
read -r ver rel < version || die "Version file not found."
pkg=${name:=$1}\#$ver-$rel
mkdir -p "$src_dir" "$mak_dir" "$pkg_dir/$dbs_dir" "$sys_dir" "$bin_dir" ||
die "Couldn't create directories at $PWD."