Skip to content

Commit

Permalink
repo-wide: switch action.py to explicit /usr/bin/env python3 sheb…
Browse files Browse the repository at this point in the history
…angs

scrivener: Use asciify to fix encoding errors

teamviewer: Fix octal format for chmod command

Signed-off-by: Thomas Staudinger <[email protected]>
  • Loading branch information
Staudey committed Oct 6, 2024
1 parent b634495 commit c9cd466
Show file tree
Hide file tree
Showing 39 changed files with 42 additions and 40 deletions.
2 changes: 1 addition & 1 deletion desktop/font/mscorefonts/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion multimedia/music/bitwig-studio/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion multimedia/music/ocenaudio/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion multimedia/music/spotify/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion multimedia/music/sunvox/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion multimedia/video/plexmediaserver/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/download/insync/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/download/spideroak/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/download/synology-cloud-station-drive/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/im/franz/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created for Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/im/skype/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/im/slack-desktop/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/im/viber/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/util/anydesk/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
6 changes: 3 additions & 3 deletions network/util/teamviewer/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand All @@ -24,5 +24,5 @@ def install():

pisitools.dodir("/etc/teamviewer")

shelltools.chmod("%s/opt/teamviewer/doc/*" % get.installDIR(),0755)
shelltools.chmod("%s/opt/teamviewer/tv_bin/*" % get.installDIR(),0755)
shelltools.chmod("%s/opt/teamviewer/doc/*" % get.installDIR(),0o0755)
shelltools.chmod("%s/opt/teamviewer/tv_bin/*" % get.installDIR(),0o0755)
2 changes: 1 addition & 1 deletion network/web/browser/google-chrome-beta/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/web/browser/google-chrome-stable/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/web/browser/google-chrome-unstable/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion network/web/google-earth/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion office/mendeleydesktop/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion office/moneydance/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion office/pomodoneapp/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
3 changes: 2 additions & 1 deletion office/scrivener/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand All @@ -13,6 +13,7 @@ def setup():
shelltools.system("pwd")
shelltools.system("ar xf scrivener-%s-amd64.deb" % Version)
shelltools.system("tar xf data.tar.gz")
shelltools.system("asciify usr")
shelltools.system("mkdir usr/share/icons/hicolor")
pisitools.move("usr/share/icons/*x*", "usr/share/icons/hicolor/")
shelltools.system("rm usr/share/scrivener/bin/scrivener.sh")
Expand Down
1 change: 1 addition & 0 deletions office/scrivener/pspec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<Archive sha1sum="e3d214b8510a54d5363679a9ea31fee303435f63" type="binary">https://www.literatureandlatte.com/scrivenerforlinux/scrivener-1.9.0.1-amd64.deb</Archive>

<BuildDependencies>
<Dependency>asciify</Dependency>
<Dependency>binutils</Dependency>
</BuildDependencies>
</Source>
Expand Down
2 changes: 1 addition & 1 deletion programming/android-studio/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools

Expand Down
2 changes: 1 addition & 1 deletion programming/clion/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion programming/datagrip/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion programming/gitkraken/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion programming/goland/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion programming/idea/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion programming/phpstorm/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion programming/pycharm-ce/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion programming/pycharm/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion programming/rider/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion programming/rubymine/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion programming/sublime-text/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down
2 changes: 1 addition & 1 deletion programming/unity-editor/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import pisitools, shelltools

Expand Down
2 changes: 1 addition & 1 deletion programming/webstorm/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from pisi.actionsapi import get, pisitools, shelltools
import shutil
Expand Down
2 changes: 1 addition & 1 deletion security/enpass/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Created For Solus Operating System

Expand Down

0 comments on commit c9cd466

Please sign in to comment.