core-appvm.spec: create /home/user/.gnome2/nautilus-scripts

And symlinks in it that will be visible in "scripts" context
menu of nautilus.
This commit is contained in:
Rafal Wojtczuk 2011-03-30 12:37:47 +02:00
parent d82c597c82
commit 1eee3cc505

View File

@ -54,6 +54,9 @@ exit 0
fi fi
adduser --create-home user adduser --create-home user
su user -c 'mkdir -p /home/user/.gnome2/nautilus-scripts'
su user -c 'ln -s /usr/lib/qubes/qvm-copy-to-vm2.kde /home/user/.gnome2/nautilus-scripts/"Copy to other AppVM"'
su user -c 'ln -s /usr/bin/qvm-open-in-dvm2 /home/user/.gnome2/nautilus-scripts/"Open in DisposableVM"'
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes mkdir -p $RPM_BUILD_ROOT/var/lib/qubes