瀏覽代碼

Install dpkg for Arch for consistency

bryan 6 天之前
父節點
當前提交
62f0b862c3
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      installJRMC

+ 2 - 1
installJRMC

@@ -1846,10 +1846,11 @@ main() {
     acquire_deb || { err "Could not download Media Center DEB package"; return 1; }
 
     # Convert the source DEB dependencies to various distro-specific package naming
+    install_package dpkg
     translate_packages "$MC_DEB" requires recommends
 
     if [[ $BUILD_TARGET =~ centos|fedora|suse|mandriva || $CREATEREPO_TARGET =~ centos|fedora|suse|mandriva ]]; then
-      install_package dpkg rpm-build
+      install_package rpm-build
       [[ -d $OUTPUT_DIR/SPECS ]] || execute mkdir -p "$OUTPUT_DIR/SPECS"
       if build_rpm requires recommends; then
         echo "RPM package built successfully"