mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-03 14:51:29 +00:00
Imported using git-ubuntu import. Changelog parent: 2848624193ee7c9fc50f098382c6f58e64a94231 New changelog entries: * Fix security mirror sources.list entries for non-x86 architectures.
17 lines
344 B
Bash
Executable File
17 lines
344 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
echo "I: Creating xdg helper"
|
|
|
|
PREFIX=binary/boot/filesystem.dir
|
|
|
|
mkdir -p $PREFIX/usr/local/bin
|
|
cat >$PREFIX/usr/local/bin/xdg-open <<EOF
|
|
#!/bin/sh
|
|
cat <<'EOF'
|
|
dbus-send --print-reply --session --dest=com.canonical.SafeLauncher / com.canonical.SafeLauncher.OpenURL string:"$1"
|
|
EOF
|
|
chmod 755 $PREFIX/usr/local/bin/xdg-open
|
|
|