We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67d730c commit b47d827Copy full SHA for b47d827
loong64-it/loong64-it.bash
@@ -63,6 +63,13 @@ _convert_loong64() {
63
sed -e 's|^Architecture: loongarch64$|Architecture: loong64|g' \
64
-i "$DEBDIR"/metadata/control
65
66
+ if grep -q "Depends:" "$DEBDIR"/metadata/control; then
67
+ sed -i '/Depends:/ s/$/, liblol,liblol-dkms/' "$DEBDIR"/metadata/control
68
+ else
69
+ echo "Depends: liblol" >> "$DEBDIR"/metadata/control
70
+ fi
71
+
72
73
abinfo "Building metadata archive (control.tar.${CONTROL_EXT}): $1 ..."
74
cd "$DEBDIR"/metadata
75
tar cvf${TAR_COMP_FLAG} "$DEBDIR"/control.tar."${CONTROL_EXT}" * || \
0 commit comments