Add news reader in update
This commit is contained in:
parent
78577166b7
commit
3a2642c8c3
1 changed files with 4 additions and 4 deletions
|
@ -105,15 +105,15 @@ checkpackagequerydependencies(){
|
||||||
clear
|
clear
|
||||||
case $sel in
|
case $sel in
|
||||||
'Latestt News')
|
'Latestt News')
|
||||||
newsurl=''
|
newsurl='https://archlinux.org/news/'
|
||||||
if [ -f /usr/bin/lynx ]; then
|
if [ -f /usr/bin/lynx ]; then
|
||||||
/usr/bin/lynx ${newurl}
|
/usr/bin/lynx ${newsurl}
|
||||||
else
|
else
|
||||||
if [ -f /usr/bin/elinks ]; then
|
if [ -f /usr/bin/elinks ]; then
|
||||||
/usr/bin/elinks ${newurl}
|
/usr/bin/elinks ${newsurl}
|
||||||
else
|
else
|
||||||
if [ -f /usr/bin/links ]; then
|
if [ -f /usr/bin/links ]; then
|
||||||
/usr/bin/links ${newurl}
|
/usr/bin/links ${newsurl}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue