mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 22:38:14 +02:00
15 lines
389 B
Bash
15 lines
389 B
Bash
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
LAZARUS_DIR=/usr/lib/lazarus/${VERSION}
|
|
|
|
# Add alternatives
|
|
update-alternatives \
|
|
--install /usr/bin/lazarus-ide lazarus-ide ${LAZARUS_DIR}/startlazarus ${PRIORITY} \
|
|
--slave /usr/bin/startlazarus startlazarus ${LAZARUS_DIR}/startlazarus \
|
|
--slave /usr/share/pixmaps/lazarus.xpm lazarus.xpm /usr/share/pixmaps/lazarus-${VERSION}.xpm
|
|
|
|
# Debhelper code
|
|
#DEBHELPER#
|