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
|
||||
case $sel in
|
||||
'Latestt News')
|
||||
newsurl=''
|
||||
newsurl='https://archlinux.org/news/'
|
||||
if [ -f /usr/bin/lynx ]; then
|
||||
/usr/bin/lynx ${newurl}
|
||||
/usr/bin/lynx ${newsurl}
|
||||
else
|
||||
if [ -f /usr/bin/elinks ]; then
|
||||
/usr/bin/elinks ${newurl}
|
||||
/usr/bin/elinks ${newsurl}
|
||||
else
|
||||
if [ -f /usr/bin/links ]; then
|
||||
/usr/bin/links ${newurl}
|
||||
/usr/bin/links ${newsurl}
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue