Compare commits
2 Commits
package-ma
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
97a6227188 | ||
|
c98bf519eb |
@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# wxyz main profile build script
|
# wxyz main profile build script
|
||||||
|
# Copyright (C) 2022 The wxyz Team & contributors
|
||||||
#
|
#
|
||||||
# This file is part of wxyz GNU/Linux.
|
# This file is part of wxyz GNU/Linux.
|
||||||
#
|
#
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# suudsu - wxyz package manager
|
|
||||||
# named after the drink that consists of skimmed milk and gummy bears
|
|
||||||
#
|
|
||||||
# Copyright 2022 (C) The wxyz Team
|
|
||||||
#
|
|
||||||
# This file is part of wxyz GNU/Linux.
|
|
||||||
#
|
|
||||||
# wxyz GNU/Linux is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by the Free
|
|
||||||
# Software Foundation, either version 3 of the License, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# wxyz GNU/Linux is distributed in the hope that it will be useful, but
|
|
||||||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
||||||
# more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License along with
|
|
||||||
# wxyz GNU/Linux. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
# shellcheck disable=SC2059
|
|
||||||
|
|
||||||
# unset for testing
|
|
||||||
#recipe_source="/etc/suudsu/recipes"
|
|
||||||
|
|
||||||
success_message="\e[34m[ \e[32mOK\e[34m ]\e[0m"
|
|
||||||
error_message="\e[34m[ \e[31m!!\e[34m ]\e[0m"
|
|
||||||
|
|
||||||
if [ "$recipe_source" = "" ]; then
|
|
||||||
printf "%s: " "$0"
|
|
||||||
printf "recipe_source not set"
|
|
||||||
printf " %b\n" "$error_message"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$1" = "" ]; then
|
|
||||||
printf "%s: " "$0"
|
|
||||||
printf "no argument"
|
|
||||||
printf " %b\n" "$error_message"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# testing
|
|
||||||
source "$recipe_source/busybox-1.33.2.wxyz"
|
|
||||||
|
|
||||||
# TODO: actually turn this into a working package manager
|
|
Loading…
Reference in New Issue
Block a user