Local user may not exist
This commit is contained in:
parent
399af60ccc
commit
278bffa7ee
|
@ -610,7 +610,7 @@ EOF
|
||||||
echo "Icon=/etc/patchwork/icon_patchwork.png" >> $rootdir/home/$MY_USERNAME/Desktop/social.desktop
|
echo "Icon=/etc/patchwork/icon_patchwork.png" >> $rootdir/home/$MY_USERNAME/Desktop/social.desktop
|
||||||
echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/social.desktop
|
echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/social.desktop
|
||||||
chmod +x $rootdir/home/$MY_USERNAME/Desktop/social.desktop
|
chmod +x $rootdir/home/$MY_USERNAME/Desktop/social.desktop
|
||||||
chown $MY_USERNAME:$MY_USERNAME $rootdir/home/$MY_USERNAME/Desktop/social.desktop
|
chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Desktop/social.desktop
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -659,7 +659,7 @@ EOF
|
||||||
echo "Icon=/etc/patchwork/icon_ferment.png" >> $rootdir/home/$MY_USERNAME/Desktop/audio.desktop
|
echo "Icon=/etc/patchwork/icon_ferment.png" >> $rootdir/home/$MY_USERNAME/Desktop/audio.desktop
|
||||||
echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/audio.desktop
|
echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/audio.desktop
|
||||||
chmod +x $rootdir/home/$MY_USERNAME/Desktop/audio.desktop
|
chmod +x $rootdir/home/$MY_USERNAME/Desktop/audio.desktop
|
||||||
chown $MY_USERNAME:$MY_USERNAME $rootdir/home/$MY_USERNAME/Desktop/audio.desktop
|
chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Desktop/audio.desktop
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue