Skip to content

Commit b60258d

Browse files
committed
Subroutine merge: 2: move install configs from /usr/share/configs/ to /usr/share/probe_basic/configs/
1 parent 43182c6 commit b60258d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

debian/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sudo -u ${SUDO_USER:-$USER} mkdir -p "${TARGET_HOME}linuxcnc"
1313
sudo -u ${SUDO_USER:-$USER} mkdir -p "${TARGET_HOME}.local/usr/share/icons"
1414

1515
# Copy the probe_basic_sims directory to the target directory
16-
sudo -u ${SUDO_USER:-$USER} cp -r /usr/share/configs "${TARGET_HOME}linuxcnc/"
16+
sudo -u ${SUDO_USER:-$USER} cp -r /usr/share/probe_basic/configs "${TARGET_HOME}linuxcnc/"
1717

1818
# Copy the probe_basic icons directory to the target directory
1919
sudo -u ${SUDO_USER:-$USER} cp -r /usr/share/icons/probe_basic_icon.png "${TARGET_HOME}.local/usr/share/icons/"

debian/rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ override_dh_auto_install:
2020
cp -r src/probe_basic/images/probe_basic_icon_lathe.png debian/python3-probe-basic/usr/share/icons/
2121

2222
# create configs directory if it doesn't exist
23-
mkdir -p debian/python3-probe-basic/usr/share/configs/
23+
mkdir -p debian/python3-probe-basic/usr/share/probe_basic/configs/
2424
# Install the config file contents
25-
cp -r linuxcnc/configs debian/python3-probe-basic/usr/share/
25+
cp -r linuxcnc/configs debian/python3-probe-basic/usr/share/probe_basic/
2626

2727

2828
override_dh_install:

0 commit comments

Comments
 (0)