We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b49725 commit b214056Copy full SHA for b214056
1 file changed
channels/share/airootfs.any/root/customize_airootfs.sh
@@ -87,6 +87,14 @@ function remove () {
87
}
88
89
90
+function installedpkg () {
91
+ if pacman -Qq "${1}" 1>/dev/null 2>/dev/null; then
92
+ return 0
93
+ else
94
+ return 1
95
+ fi
96
+}
97
+
98
# Enable and generate languages.
99
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
100
if [[ ! "${localegen}" = "en_US\\.UTF-8\\" ]]; then
0 commit comments