1

[kubuntu] Some scripting Problems

view story
linux-howto

http://ubuntuforums.org – Hi there, so I have an almost perfect running script, but at one point there is an If statement, in which I'm declaring a variable [ if [ "$(lspci | grep -i vga | grep -i -o nvidia)" != "" ] then (line 16) $pkg = nvidia ] Now I get always the error :" line 16: =: command not found " tried using the == or putting nvidia in "" hope someone has an Idea how to maybe fix it greetz thedawg (Hardware)