Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbarnabedikartola committed May 27, 2024
1 parent 375afa9 commit 3ac7ea8
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 37 deletions.
10 changes: 10 additions & 0 deletions big-skel/usr/share/libalpm/hooks/big-change-bashrc.hook
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
13 changes: 13 additions & 0 deletions big-skel/usr/share/libalpm/scripts/big-change-bashrc
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
5 changes: 0 additions & 5 deletions pkgbuild/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ conflicts=('bashrc-manjaro')
provides=('bashrc')
source=("git+https://github.com/biglinux/big-skel.git")
md5sums=(SKIP)
if [ -e "${pkgname}.install" ];then
install=${pkgname}.install
elif [ -e "pkgbuild.install" ];then
install=pkgbuild.install
fi

package() {
# Verify default folder
Expand Down
32 changes: 0 additions & 32 deletions pkgbuild/pkgbuild.install

This file was deleted.

0 comments on commit 3ac7ea8

Please sign in to comment.