Skip to content

Commit

Permalink
moved config to ~/mexassistant
Browse files Browse the repository at this point in the history
  • Loading branch information
janinainfa committed Jul 9, 2024
1 parent eb36512 commit 45361ee
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions deb-package/DEBIAN/postint
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh
set -e

# Pobierz nazwę użytkownika, który uruchomił instalację pakietu
USER=$(logname)

# Ścieżki do katalogu domowego
HOME_DIR="/home/$USER"
DEST_DIR="$HOME_DIR/mexassistant"

# Utwórz katalog, jeśli nie istnieje
mkdir -p "$DEST_DIR"

# Skopiuj pliki do katalogu domowego
cp /home/user/mexassistant/user_config.cfg "$DEST_DIR/"

# Ustaw odpowiednie uprawnienia
chown -R "$USER:$USER" "$DEST_DIR"

exit 0
File renamed without changes.

0 comments on commit 45361ee

Please sign in to comment.