mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-04 11:30:52 +01:00
15 lines
278 B
Bash
15 lines
278 B
Bash
#!/bin/sh
|
|
|
|
# migrate .qet directory from SNAP_USER_DATA to SNAP_USER_COMMON
|
|
from="$SNAP_USER_DATA/.qet"
|
|
to="$SNAP_USER_COMMON/.qet"
|
|
if [ ! -d "$to" ] && [ -d "$from" ]; then
|
|
echo "Migrating user data from $from to $to"
|
|
mkdir "$to"
|
|
cp -av "$from/." "$to"
|
|
fi
|
|
|
|
|
|
|
|
exec "${@}"
|