mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 08:37:14 -04:00
port-jobs: Moved shebang swap to a port-job
Former-commit-id: f183e86fb5c748da366fc8821cfdd1f0c14c5f7e Former-commit-id: 98b66ba0c8807acd0a4c5fcce2ba9b0f8e6e4be8
This commit is contained in:
+1
-2
@@ -145,6 +145,7 @@ urls {
|
|||||||
# START PORT
|
# START PORT
|
||||||
cp -r lib/. port-jobs/working/
|
cp -r lib/. port-jobs/working/
|
||||||
cd port-jobs
|
cd port-jobs
|
||||||
|
./SHEBANG.sh
|
||||||
./RMSERVER.py
|
./RMSERVER.py
|
||||||
./CLIPBOARD.py HAIKU
|
./CLIPBOARD.py HAIKU
|
||||||
./COMMENTS.py ALL
|
./COMMENTS.py ALL
|
||||||
@@ -153,8 +154,6 @@ urls {
|
|||||||
cd ..
|
cd ..
|
||||||
mv port-jobs/working/* output/haikutemp/lib/sshyp/
|
mv port-jobs/working/* output/haikutemp/lib/sshyp/
|
||||||
# END PORT
|
# END PORT
|
||||||
sed -i '1 s/.*/#!\/bin\/env\ python3.10/' output/haikutemp/lib/sshyp/sshync.py
|
|
||||||
sed -i '1 s/.*/#!\/bin\/env\ python3.10/' output/haikutemp/lib/sshyp/sshyp.py
|
|
||||||
ln -s /system/lib/sshyp/sshyp.py output/haikutemp/bin/sshyp
|
ln -s /system/lib/sshyp/sshyp.py output/haikutemp/bin/sshyp
|
||||||
cp -r share/doc/sshyp/. output/haikutemp/documentation/packages/sshyp/
|
cp -r share/doc/sshyp/. output/haikutemp/documentation/packages/sshyp/
|
||||||
cp -r share/licenses/sshyp/. output/haikutemp/documentation/packages/sshyp/
|
cp -r share/licenses/sshyp/. output/haikutemp/documentation/packages/sshyp/
|
||||||
|
|||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
if [ "$1" = 'HAIKU' ]; then
|
||||||
|
sed -i '1 s/.*/#!\/bin\/env\ python3.10/' ./working/sshync.py
|
||||||
|
sed -i '1 s/.*/#!\/bin\/env\ python3.10/' ./working/sshyp.py
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user