소스 검색

Only copy files from deb

bryan 2 년 전
부모
커밋
1d66b43a26
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      installJRMC

+ 2 - 2
installJRMC

@@ -863,11 +863,11 @@ installMCGENERIC() {
     ar x "$MCDEB"
     tar xvf "control.tar.xz"
     echo "You must install the following dependencies manually:"
-    cat control
+    grep -i control "Depends:"
     tar xvf "data.tar.xz"
     pushd data &>/dev/null || return
     # Add list of files to log for uninstall
-    find . -mindepth 1 >> "$SCRIPTDIR/.uninstall"
+    find . -mindepth 1 -type f >> "$SCRIPTDIR/.uninstall"
     # Manually install files
     sudo cp -a ./etc/* /etc/
     sudo cp -a ./usr/* /usr/