Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Example
steps:
- uses: actions/checkout@v4
- uses: termux-pacman/pacman-actions@v2.4
- uses: termux-pacman/pacman-actions@v2.5
- run: |
pacman --help
makepkg --help
Expand Down
3 changes: 3 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Security Policy

All security policy information is located at [termux-pacman.dev/security](https://termux-pacman.dev/security/).
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ async function installPkg(pkgname) {
}

async function start() {
// Checking the Ubuntu version
let myOutput = '';
await exec.exec("grep", ["^DISTRIB_RELEASE=", "/etc/lsb-release"], {
listeners: {
Expand All @@ -37,6 +38,11 @@ async function start() {
returnError("Old version of ubuntu, must be version 24 of ubuntu");
}

// Disabling the man-db setting
await exec.exec("bash -c \"echo set man-db/auto-update false | sudo debconf-communicate\"");
await exec.exec("sudo dpkg-reconfigure man-db");

// Installing libarchive tools and pacman
await installPkg("libarchive-tools pacman-package-manager");
}

Expand Down
2 changes: 1 addition & 1 deletion node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pacman-actions",
"version": "2.4",
"version": "2.5",
"description": "Installing pacman and its tools on Ubuntu24 environment github actions",
"main": "index.js",
"scripts": {
Expand Down