diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -167,8 +167,8 @@ prepare() { # If it's a full config, will be replaced # If not, you should use scripts/config commands, one by line if [ -f "${startdir}/myconfig" ]; then - if [ $(wc -l < "${startdir}/myconfig") -gt 5000 ]; then - # myconfig is a full config file. Replace it + if ! grep -q 'scripts/config' "${startdir}/myconfig"; then + # myconfig is a full config file. Replacing default .config msg2 "Using user CUSTOM config..." cp -f "${startdir}"/myconfig .config else |