Open yajouahr opened 4 years ago
in preinstall script, your check if version is higher or equal to 1.13 fails for version 2.6 for example.
if( major === 1 && minor >= 13 || major > 1) return;
should work better. I had to dowgrade my vnstat version so that it works.
@yajouahr Thanks! The code of this pkg looks super old. I'm rewriting it today.
have you updated the npm? So we can do an update please?
in preinstall script, your check if version is higher or equal to 1.13 fails for version 2.6 for example.
if( major === 1 && minor >= 13 || major > 1) return;
should work better. I had to dowgrade my vnstat version so that it works.