News:

Server migration complete, Welcome to version 2.1.1

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16449
Latest: bradleyholmes
New This Month: 20
New This Week: 6
New Today: 2
Stats
Total Posts: 132572
Total Topics: 16438
Most Online Today: 162
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 145
Total: 146

My plugin fpp_install.sh not executed 7.x

Started by esset, September 17, 2023, 09:37:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

esset

Hi, I'm trying to publish a plugin I have been working on but I can't get the fpp_install.sh to be executed when pulling the pluginInfo.json from plugin manager. I can execute the  fpp_install.sh from SSH inside the plugin folder if I first run chmod +x.
I have tried with the root folder and under scripts folder without luck. Is there anything else I need to do to automatic execute the  fpp_install.sh during plugin installation.

dkulp

Do the chmod +x and commit that change.   The executable bit is an attribute that git would record. 
Daniel Kulp - https://kulplights.com

esset

Quote from: dkulp on September 17, 2023, 10:16:00 AMDo the chmod +x and commit that change.   The executable bit is an attribute that git would record. 
Thank you, I'm on windows, how can I chmod before commit?

esset

#3
Quote from: esset on September 17, 2023, 10:18:53 AM
Quote from: dkulp on September 17, 2023, 10:16:00 AMDo the chmod +x and commit that change.  The executable bit is an attribute that git would record.
Thank you, I'm on windows, how can I chmod before commit?
Tried this.
git add --chmod=+x fpp_install.sh
git commit -m "fpp_install +x"
[master dxxxxx] fpp_install +x
1 file changed, 0 insertions(+), 0 deletions(-)
mode change 100644 => 100755 scripts/fpp_install.sh

Did not change the outcome.

esset


Powered by EzPortal
Powered by SMFPacks Menu Editor Mod