mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
refactor and fix
This commit is contained in:
parent
906beae0d8
commit
91788579dd
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
cat
|
||||
|
||||
echo '
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
|
||||
# add amdgpu to MODULES array
|
||||
sed 's|^MODULES=(|MODULES=(amdgpu |'
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
|
||||
# 1) and 2) remember last selected entry; 3) disable submenu
|
||||
sed '
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
|
||||
sed 's|^#PACKAGER=.*$|PACKAGER="Daniel Langbein <daniel@systemli.org>"|'
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
cat
|
||||
|
||||
# syntax highlighting
|
||||
|
@ -3,7 +3,7 @@ _pkgname=pacman
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.2.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="pacman with configuration"
|
||||
arch=('any')
|
||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||
|
@ -1,9 +1,15 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
|
||||
# save stdin (content of /etc/mkinitcpio.conf) in variable
|
||||
stdin="$(cat)"
|
||||
|
||||
# Enable parallel downloads
|
||||
sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
|
||||
echo "$stdin" | sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
|
||||
|
||||
printf '\n'
|
||||
|
||||
# Assert multilib is not enabled
|
||||
! echo "$stdin" | grep --quiet '^\[multilib\].*$'
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
cat
|
||||
|
||||
echo '
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
|
||||
sed 's|Battery {}|//Battery {}|'
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
cat
|
||||
echo 'enable_pinpad = false'
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
|
||||
# Decrease size
|
||||
sed '
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
set -e
|
||||
|
||||
echo "NoDisplay=true"
|
||||
|
Loading…
Reference in New Issue
Block a user