npm-pkgbuild 22.0.0 → 22.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/output/alpm.mjs +1 -1
package/package.json
CHANGED
package/src/output/alpm.mjs
CHANGED
|
@@ -295,7 +295,7 @@ package() {
|
|
|
295
295
|
const flags = {
|
|
296
296
|
user: ["-u", f => f.user],
|
|
297
297
|
group: ["-g", f => f.group],
|
|
298
|
-
mode: ["-m", f => Number(f.mode
|
|
298
|
+
mode: ["-m", f => Number(f.mode & 0o7777).toString(8)] // TODO why only 12 bits
|
|
299
299
|
};
|
|
300
300
|
|
|
301
301
|
content =
|