home · contact · privacy
Fix or.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 9 Feb 2016 23:59:56 +0000 (00:59 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 9 Feb 2016 23:59:56 +0000 (00:59 +0100)
jessie_postinstall.sh

index 9063f77743cd13428ab83f4c699ca9eeae1714f9..3797c7dedf51d07a57862dcfa649e576d266a12e 100755 (executable)
@@ -85,7 +85,7 @@ echo 'deb http://security.debian.org/ jessie/updates main contrib non-free' \
     >> /etc/apt/sources.list
 echo 'deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free' \
     >> /etc/apt/sources.list
-if [ "$1" = "thinkpad" || "$2" = "public" ]; then
+if [ "$1" = "thinkpad" ] || [ "$2" = "public" ]; then
     echo 'deb http://ftp.debian.org/debian/ jessie-backports main contrib' \
 ' non-free' >> /etc/apt/sources.list
     echo 'deb http://ftp.debian.org/debian/ testing main contrib non-free' \