File: meson_custom_install_desktop_file.sh

package info (click to toggle)
xdg-user-dirs-gtk 0.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 524 kB
  • sloc: ansic: 520; sh: 6; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

set -eu

applicationsdir=$1
sysconfdir=$2

mkdir -p "${DESTDIR:-}$applicationsdir/"
cp "${DESTDIR:-}$sysconfdir/user-dirs-update-gtk.desktop" \
   "${DESTDIR:-}$applicationsdir/user-dirs-update-gtk.desktop"