Skip to content

Commit

Permalink
update scripts permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusPaz committed Jan 2, 2024
1 parent 5d2fe1c commit 315687d
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

- name: Install Nodejs
run: |
yum install nodejs -y
dnf install nodejs -y
- name: Validate Node Version
run: |
Expand Down
2 changes: 2 additions & 0 deletions scripts/deb/script_generator/generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ create_script() {
echo "Creating script for Node.js version $version.x"
if sed "s/NODE_VERSION=\"XX.x\"/NODE_VERSION=\"$version.x\"/g" "$base_script" > "$target_script"; then
echo "Script created successfully: $target_script"
chmod +x "$target_script"
echo "Execute permissions set for: $target_script"
else
echo "Error: Failed to create script for version $version.x"
return 1
Expand Down
Empty file modified scripts/deb/setup_18.x
100644 → 100755
Empty file.
Empty file modified scripts/deb/setup_20.x
100644 → 100755
Empty file.
Empty file modified scripts/deb/setup_21.x
100644 → 100755
Empty file.
Empty file modified scripts/deb/setup_current.x
100644 → 100755
Empty file.
Empty file modified scripts/deb/setup_lts.x
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions scripts/rpm/script_generator/generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ create_script() {
echo "Creating script for Node.js version $version.x"
if sed "s/NODE_VERSION=\"XX.x\"/NODE_VERSION=\"$version.x\"/g" "$base_script" > "$target_script"; then
echo "Script created successfully: $target_script"
chmod +x "$target_script"
echo "Execute permissions set for: $target_script"
else
echo "Error: Failed to create script for version $version.x"
return 1
Expand Down
Empty file modified scripts/rpm/setup_18.x
100644 → 100755
Empty file.
Empty file modified scripts/rpm/setup_20.x
100644 → 100755
Empty file.
Empty file modified scripts/rpm/setup_21.x
100644 → 100755
Empty file.
Empty file modified scripts/rpm/setup_current.x
100644 → 100755
Empty file.
Empty file modified scripts/rpm/setup_lts.x
100644 → 100755
Empty file.

0 comments on commit 315687d

Please sign in to comment.