Compare commits
No commits in common. "b2312ca3a1962292ef358a4f79982f40b090f0aa" and "068ec14d7dc5042ea9b7e291ee22e50667eceb6d" have entirely different histories.
b2312ca3a1
...
068ec14d7d
9
mint.sh
9
mint.sh
@ -47,15 +47,6 @@ fi
|
||||
defaultuser=$(getent passwd 1000 | cut -d: -f1)
|
||||
defaultuserhome=$(getent passwd 1000 | cut -d: -f6)
|
||||
|
||||
# move data from element/signal flatpaks to default element/signal
|
||||
if [ -d "$defaultuserhome/.var/app/org.signal.Signal/config/Signal" ]
|
||||
then
|
||||
[ -d "$defaultuserhome/.config/Signal" ] || rsync -av "$defaultuserhome"/.var/app/org.signal.Signal/config/Signal/ "$defaultuserhome"/.config/Signal/
|
||||
fi
|
||||
if [ -d "$defaultuserhome/.var/app/im.riot.Riot/config/Element" ]
|
||||
then
|
||||
[ -d "$defaultuserhome/.config/Element" ] || rsync -av "$defaultuserhome"/.var/app/im.riot.Riot/config/Element/ "$defaultuserhome"/.config/Element/
|
||||
fi
|
||||
|
||||
# hostname
|
||||
if hostname | grep -q "^${defaultuser}-"
|
||||
|
Loading…
Reference in New Issue
Block a user