소스 검색

fix rb532 install script part

Waldemar Brodkorb 16 년 전
부모
커밋
975f9ccb8c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/install.sh

+ 1 - 1
scripts/install.sh

@@ -206,7 +206,7 @@ printf "Fixing permissions\n"
 chmod 1777 $tmp/tmp
 chmod 1777 $tmp/tmp
 chmod 4755 $tmp/bin/busybox
 chmod 4755 $tmp/bin/busybox
 
 
-if [ $rb532 -ne 0 ];then
+if [ $rb532 -eq 0 ];then
 	printf "Copying grub files\n"
 	printf "Copying grub files\n"
 	mkdir $tmp/boot/grub
 	mkdir $tmp/boot/grub
 	cp /boot/grub/stage1 $tmp/boot/grub
 	cp /boot/grub/stage1 $tmp/boot/grub