Make all scripts in qubes-rpc executable
Don't rely on legacy feature of interpreting non-executable files as scripts there.
This commit is contained in:
parent
422f03e9ac
commit
ce63d31a2e
14
Makefile
14
Makefile
@ -253,18 +253,18 @@ install-common:
|
||||
install -d $(DESTDIR)/$(KDESERVICEDIR)
|
||||
install -m 0644 qubes-rpc/{qvm-copy.desktop,qvm-move.desktop,qvm-dvm.desktop} $(DESTDIR)/$(KDESERVICEDIR)
|
||||
install -d $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0644 qubes-rpc/{qubes.Filecopy,qubes.OpenInVM,qubes.VMShell,qubes.SyncNtpClock} $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/{qubes.Filecopy,qubes.OpenInVM,qubes.VMShell,qubes.SyncNtpClock} $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.VMRootShell $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.OpenURL $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0644 qubes-rpc/{qubes.SuspendPre,qubes.SuspendPost,qubes.GetAppmenus} $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/{qubes.SuspendPre,qubes.SuspendPost,qubes.GetAppmenus} $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.SuspendPreAll $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.SuspendPostAll $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.WaitForSession $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0644 qubes-rpc/qubes.DetachPciDevice $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0644 qubes-rpc/qubes.{Backup,Restore} $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0644 qubes-rpc/qubes.Select{File,Directory} $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0644 qubes-rpc/qubes.GetImageRGBA $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0644 qubes-rpc/qubes.SetDateTime $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.DetachPciDevice $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.{Backup,Restore} $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.Select{File,Directory} $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.GetImageRGBA $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.SetDateTime $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.InstallUpdatesGUI $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.ResizeDisk $(DESTDIR)/etc/qubes-rpc
|
||||
install -m 0755 qubes-rpc/qubes.StartApp $(DESTDIR)/etc/qubes-rpc
|
||||
|
2
qubes-rpc/qubes.Backup
Normal file → Executable file
2
qubes-rpc/qubes.Backup
Normal file → Executable file
@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo Starting Backupcopy
|
||||
read args
|
||||
echo Arguments: $args
|
||||
|
0
qubes-rpc/qubes.DetachPciDevice
Normal file → Executable file
0
qubes-rpc/qubes.DetachPciDevice
Normal file → Executable file
1
qubes-rpc/qubes.Filecopy
Normal file → Executable file
1
qubes-rpc/qubes.Filecopy
Normal file → Executable file
@ -1 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /usr/lib/qubes/qfile-unpacker
|
||||
|
1
qubes-rpc/qubes.GetAppmenus
Normal file → Executable file
1
qubes-rpc/qubes.GetAppmenus
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
find /usr/share/applications/ /usr/local/share/applications/ -name '*.desktop' -print0 2>/dev/null | \
|
||||
xargs -0 awk '
|
||||
BEGINFILE { entry="" }
|
||||
|
1
qubes-rpc/qubes.GetImageRGBA
Normal file → Executable file
1
qubes-rpc/qubes.GetImageRGBA
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
read filename
|
||||
|
||||
|
1
qubes-rpc/qubes.OpenInVM
Normal file → Executable file
1
qubes-rpc/qubes.OpenInVM
Normal file → Executable file
@ -1 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /usr/lib/qubes/vm-file-editor
|
||||
|
1
qubes-rpc/qubes.Restore
Normal file → Executable file
1
qubes-rpc/qubes.Restore
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
echo Starting Restorecopy >&2
|
||||
read args
|
||||
read paths
|
||||
|
1
qubes-rpc/qubes.SelectDirectory
Normal file → Executable file
1
qubes-rpc/qubes.SelectDirectory
Normal file → Executable file
@ -1 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec zenity --title="Qubes" --file-selection --directory
|
||||
|
1
qubes-rpc/qubes.SelectFile
Normal file → Executable file
1
qubes-rpc/qubes.SelectFile
Normal file → Executable file
@ -1 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec zenity --title="Qubes" --file-selection
|
||||
|
0
qubes-rpc/qubes.SetDateTime
Normal file → Executable file
0
qubes-rpc/qubes.SetDateTime
Normal file → Executable file
1
qubes-rpc/qubes.SuspendPost
Normal file → Executable file
1
qubes-rpc/qubes.SuspendPost
Normal file → Executable file
@ -1 +1,2 @@
|
||||
#!/bin/sh
|
||||
/usr/lib/qubes/prepare-suspend resume
|
||||
|
1
qubes-rpc/qubes.SuspendPre
Normal file → Executable file
1
qubes-rpc/qubes.SuspendPre
Normal file → Executable file
@ -1 +1,2 @@
|
||||
#!/bin/sh
|
||||
/usr/lib/qubes/prepare-suspend suspend
|
||||
|
1
qubes-rpc/qubes.SyncNtpClock
Normal file → Executable file
1
qubes-rpc/qubes.SyncNtpClock
Normal file → Executable file
@ -1 +1,2 @@
|
||||
#!/bin/sh
|
||||
/usr/lib/qubes/sync-ntp-clock
|
||||
|
1
qubes-rpc/qubes.VMShell
Normal file → Executable file
1
qubes-rpc/qubes.VMShell
Normal file → Executable file
@ -1 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /bin/bash
|
||||
|
Loading…
Reference in New Issue
Block a user