aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author0.alpha <meJustPlay@163.com>2022-05-11 20:33:54 +0800
committerGitHub <noreply@github.com>2022-05-11 20:33:54 +0800
commit4bebce18b5ad303740c8fcce8c6fcc4924e1e7fc (patch)
tree61838198d340687b9ca362baa7847a7a6471e7b7
parentf4376e5887939ee8c8e0c62e835fd278b84140c9 (diff)
downloadcachepc-amdsev-4bebce18b5ad303740c8fcce8c6fcc4924e1e7fc.tar.gz
cachepc-amdsev-4bebce18b5ad303740c8fcce8c6fcc4924e1e7fc.zip
Update common.sh
-rwxr-xr-xcommon.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.sh b/common.sh
index afa141b..1ccd72c 100755
--- a/common.sh
+++ b/common.sh
@@ -77,7 +77,7 @@ build_kernel()
# Build
run_cmd $MAKE >/dev/null
- if [ "$ID_LIKE" = "debian" ]; then
+ if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then
run_cmd $MAKE bindeb-pkg
else
run_cmd $MAKE "RPMOPTS='--define \"_rpmdir .\"'" binrpm-pkg