fix /etc/skel/.bashrc missing
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ function install_required_packages {
|
||||
function fix_users_bashrc {
|
||||
# for new users
|
||||
if ! cmp -s /etc/skel/.bashrc "$MIAOU_BASH_DIR"/etc/skel/.bashrc; then
|
||||
sudo mv /etc/skel/.bashrc /etc/skel/.bashrc.ORIGINAL
|
||||
[[ -f /etc/skel/.bashrc ]] && sudo mv /etc/skel/.bashrc /etc/skel/.bashrc.ORIGINAL
|
||||
sudo ln -sf "$MIAOU_BASH_DIR"/etc/skel/.bashrc /etc/skel/.bashrc
|
||||
|
||||
# for pre-existant users
|
||||
|
||||
Reference in New Issue
Block a user