24 lines
382 B
Bash
24 lines
382 B
Bash
sudo apt update && sudo apt install nala
|
|
sudo nala fetch
|
|
echo "apt() {
|
|
command nala "$@"
|
|
}
|
|
sudo() {
|
|
if [ "$1" = "apt" ]; then
|
|
shift
|
|
command sudo nala "$@"
|
|
else
|
|
command sudo "$@"
|
|
fi
|
|
}" >> ~/.bashrc
|
|
echo "apt() {
|
|
command nala "$@"
|
|
}
|
|
sudo() {
|
|
if [ "$1" = "apt" ]; then
|
|
shift
|
|
command sudo nala "$@"
|
|
else
|
|
command sudo "$@"
|
|
fi
|
|
}" >> /root/.bashrc |