xbps-triggers: update to 0.113.
fix bug in register shell: match for whole line instead of substring.
This commit is contained in:
@@ -36,8 +36,8 @@ run)
|
|||||||
chmod 644 etc/shells
|
chmod 644 etc/shells
|
||||||
else
|
else
|
||||||
for f in ${register_shell}; do
|
for f in ${register_shell}; do
|
||||||
if ! grep -q $f etc/shells; then
|
if ! grep -qFx "$f" etc/shells; then
|
||||||
echo $f >> etc/shells
|
echo "$f" >> etc/shells
|
||||||
echo -n "Registered $f into "
|
echo -n "Registered $f into "
|
||||||
echo "/etc/shells."
|
echo "/etc/shells."
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.112
|
version=0.113
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user