-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
375afa9
commit 3ac7ea8
Showing
4 changed files
with
23 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Trigger] | ||
Type = Path | ||
Operation = Install | ||
Operation = Upgrade | ||
Target = etc/skel/.dot.bashrc | ||
|
||
[Action] | ||
Description = BigLinux change skel .bashrc | ||
When = PostTransaction | ||
Exec = /usr/share/libalpm/scripts/big-change-bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Replacing the original /etc/skel/.bashrc file with the modified Biglinux file | ||
cFile='/etc/skel/.bashrc' | ||
cbakFile='/etc/skel/.bashrc.bak' | ||
cnewFile='/etc/skel/.dot.bashrc' | ||
|
||
if [ -e "$cnewFile" ]; then | ||
if [ -e "$cFile" ]; then | ||
mv -f "$cFile" "$cbakFile" | ||
fi | ||
mv -f "$cnewFile" "$cFile" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.